The mud that I just started has no reply command, so I'm trying to create one using an alias. Normally this wouldn't be a problem, as a simple #ALIAS reply {tell @replyto} would do, assuming that the @replyto var had a proper value.
However, in this case the reply command also has a reply lock/unlock feature which I am trying to get working as well. I currently have it doing if statements to see if the first word is lock or unlock, and reacting accordingly (see below):
#ALIAS reply {
#IF (%1 = lock) { #T- replyto } {
#IF (%1 = unlock) { #T+ replyto } {
tell @replyto %1
}
}
}
The problem being that %1 only contains the first word passed to the alias. And theoretically anywhere between 1 and 99 of the params could be filled. What I need is a way to send the entire list of paramters to the "tell @replyto" command, without sending a lot of extra spaces.