I know about 99.9% of people in Akanbar use Zmud/Cmud, but if anyone comes along that uses MushClient and needs any help, let me know. TinyFugue is also another Very strong, free client...it just takes a high knowledge of coding, as you literally have to script every, single, thing.
Announcement
Collapse
No announcement yet.
MushClient
Collapse
X
-
What a question!
Here's an example or three, which should give you a pretty good indication as to how things play out. If you know anything of Lua and regexp, it should be self-explanatory. If not, keep the questions coming and I'll see how I can narrow it all down.
Code:[u][b]Triggers[/b][/u] (send to script) Pattern: ^Welcome to Akanbar, (\w+)\.$ Script: SetVariable("myname","%1") [u][b]Aliases[/b][/u] (send to script) Pattern: ^t (\w+)$ Script: SetVariable("target","%1")
Code:[u][b]Aliases[/b][/u] Pattern: ^sd$ Script: symbiote defile @target
Zycandos and Jaethor's karaoke rendition of 'I Feel Pretty'.
Jaethor goes solo with 'The Sound of Music'.
Minstrel Sharallin sings: "The lord of revenants is a withered man, sunken by age and evil. But his blood is sweet, say the young men - and they should know?"Jaethor, God of Enlightenment tells you, "((Stop breaking Akanbar.))"
Comment
-
Omg thank you so much dimey
so
send to script
SetVariable("Variable","%1")
sets variable Variable as what is defined in the trigger/alias/etc as (\w+)$
Why does the Welcome to have the \.? To not include the dot at the end of the line?
Thanks :-D
Comment
-
Putting a \ before a character "escapes" it, so the client doesn't try to process it as part of a regular expression.
Admittedly you may not NEED to escape a period (with MUSH, think you do - Mudlet is the questionable one there), but I escape everything just in case.Zycandos and Jaethor's karaoke rendition of 'I Feel Pretty'.
Jaethor goes solo with 'The Sound of Music'.
Minstrel Sharallin sings: "The lord of revenants is a withered man, sunken by age and evil. But his blood is sweet, say the young men - and they should know?"Jaethor, God of Enlightenment tells you, "((Stop breaking Akanbar.))"
Comment
Comment