Quote:
Hmm, I didn't quite follow that, how do you set a variable from an alias without using a script?
An alias can "send to variable", thus %1 would set the variable.
Quote:
and wouldn't I get an infinite loop If I named the alias dsl? That's the name of the command.
The name doesn't matter, it is like a label. However there are ways you can set up loops, however MUSHclient has an "infinite loop preventer".
For example, say you had an alias that matches "blah" and sends "blah" and - and this is important - sends it to "execute" then you have a loop. It will send "blah", that will match again, it sends "blah" again, and so on. However MUSHclient detects that and stops it after 20 loops. You can try a test to see, and after typing "blah" see how many times the alias matched - it will be 20.
However normally you send the alias to the world, not to "execute" which means if you send "blah" then it goes to the MUD (probably generating a "Huh?" response) and does not cause any loops.
In your case I don't think this applies, but it is good to know it shouldn't be a major problem. |