I'm trying to write some sort of code for mush client so that when I type chat it automatically changes the first letter to one color, second letter to another color and third letter to yet another color and resets at the beginning of each word.
I can do it in Z*grumble*mud and I can send you the script, but I can't figure out how to do it in Mushclient. Could you please help?
In that other program, I just put this...
#VAR chatstr {} {_nodef}
#FORALL %replace( %-1, " ", "|") {#VAR chatstr %additem( %concat( "&+W", %left( %i, 1), "&+w", %right( %left( %i, 2), 1), "&+L", %right( %i, 2)), @chatstr)}
chat %expandlist( @chatstr, " ")
Then every time I type chat it did what I needed it too.... could someone please help... I really prefer MushClient, and would like to use it instead.
I can do it in Z*grumble*mud and I can send you the script, but I can't figure out how to do it in Mushclient. Could you please help?
In that other program, I just put this...
#VAR chatstr {} {_nodef}
#FORALL %replace( %-1, " ", "|") {#VAR chatstr %additem( %concat( "&+W", %left( %i, 1), "&+w", %right( %left( %i, 2), 1), "&+L", %right( %i, 2)), @chatstr)}
chat %expandlist( @chatstr, " ")
Then every time I type chat it did what I needed it too.... could someone please help... I really prefer MushClient, and would like to use it instead.