Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO] Emote Message Fix


EclipseCommunity
 Share

Recommended Posts

Oh lol I just noticed it only happens in 1.5 and 2.0\. Im using the old Xmas, doesn't seem to be an error in that. Building up to an Origins with chat channels Im guessing.
Link to comment
Share on other sites

  • 2 months later...
  • 2 months later...
  • 2 weeks later...
@Domino_:

> Can you fix whisper too? I think It doesnt work. :D the "!" command. ^^

Show at this Thread: http://www.touchofdeathforums.com/smf/index.php/topic,68998.0.html

You can change the /p to a ! command but you must change:

This:
' Player message
        If Left$(ChatText, 3) = "/p " Then
            ChatText = Mid$(ChatText, 4, Len(ChatText) - 3)

To this:
' Player message
        If Left$(ChatText, 1) = "! " Then
            ChatText = Mid$(ChatText, 2, Len(ChatText) - 1)

@Topic:
I think this Fix for the "-" Command is not right because when you change the MyText to ChatText and wrote with - inGame a Message its cutted 1 letter.

Example:
You write -hello
This comes out:
Accountname ello

We can fix this?
Link to comment
Share on other sites

  • 1 month later...
@Ryujin:

> Show at this Thread: http://www.touchofdeathforums.com/smf/index.php/topic,68998.0.html
>
> You can change the /p to a ! command but you must change:
>
> This:
> ' Player message
>         If Left$(ChatText, 3) = "/p " Then
>             ChatText = Mid$(ChatText, 4, Len(ChatText) - 3)
>
> To this:
> ' Player message
>         If Left$(ChatText, 1) = "! " Then
>             ChatText = Mid$(ChatText, 2, Len(ChatText) - 1)
>
> @Topic:
> I think this Fix for the "-" Command is not right because when you change the MyText to ChatText and wrote with - inGame a Message its cutted 1 letter.
>
> Example:
> You write -hello
> This comes out:
> Accountname ello
>
> We can fix this?

The ! whisper fix does not work.
Link to comment
Share on other sites

@Kermit:

> The ! whisper fix does not work.

IIRC, it should be this:

```
' Player message
        If Left$(ChatText, 2) = "! " Then ' Notice: "! " is two characters (exclamation, space)
            ChatText = Mid$(ChatText, 2, Len(ChatText) - 2) ' Hence change "Len(ChatText) - 1" to "Len(ChatText - 2)" (quotes for clarity).

```
Link to comment
Share on other sites

@Soul:

> IIRC, it should be this:
>
> ```
> ' Player message
>         If Left$(ChatText, 2) = "! " Then ' Notice: "! " is two characters (exclamation, space)
>             ChatText = Mid$(ChatText, 2, Len(ChatText) - 2) ' Hence change "Len(ChatText) - 1" to "Len(ChatText - 2)" (quotes for clarity).
>
> ```

Thanks, it works :D
Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...