im using aardmush, and want to make an alias for a series of commands:
say @B------>spelling up %1
spellup other %1
say @Bspellup done<------
rub
The "spellup other %1" command however gives an error msg from the mud (unknown command). Any solutions how to call the plugin command (spellup other) within an alias?
In the alias, instead of Send to: World, change it to Send to: Execute.
That way the alias sent text is re-evaluated as if you had typed it in, and the plugin will catch it.
thanks, that's it for the spellup other bit. but then my other lines wont work. can i specify one line to be send to execute?
Well you can with scripting. But why won't the other lines work? Have you tried it and they don't work? If so, can you please specify in what way, and also copy and paste the actual alias you are using, see
http://mushclient.com/copying.
my bad. it worked. did something wrong. sorry about that.
<aliases>
<alias
match="spellother *"
enabled="y"
send_to="10"
keep_evaluating="y"
sequence="100"
>
<send>say @B------>spelling up %1
spellup other %1
say @Bspellup done<------
rub</send>
</alias>
</aliases>
THANKS!