I'm long-time Wintin.Net user but starting to port stuff over to MUSHClient.
I read through FAQ and some tutorials, and even a YouTube video. But coming from a tintin syntax and C#, MUSH is taking some time to get used to.
I'm setting up basic drink/food variables for my hungry/thirsty triggers.
I used to have an alias like
That would set my drink variable.
I tried something similar in MUSH and using VBScript as the scripting language. But it doesn't seem to work, I've tried a number of variations of the below. Any help would be greatly appreciated.
I read through FAQ and some tutorials, and even a YouTube video. But coming from a tintin syntax and C#, MUSH is taking some time to get used to.
I'm setting up basic drink/food variables for my hungry/thirsty triggers.
I used to have an alias like
#alias {setdrink} {#var {drink} {%%0}}That would set my drink variable.
I tried something similar in MUSH and using VBScript as the scripting language. But it doesn't seem to work, I've tried a number of variations of the below. Any help would be greatly appreciated.
<aliases>
<alias
match="setdrink"
enabled="y"
expand_variables="y"
send_to="10"
sequence="100"
>
<send>/SetVariable "drink", "%1"</send>
</alias>
</aliases>