calling plugin functions from aliases

Posted by Broud on Sat 01 Nov 2008 05:13 PM — 5 posts, 19,412 views.

Netherlands #0
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?
Australia Forum Administrator #1
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.
Netherlands #2
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?
Australia Forum Administrator #3
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.

Netherlands #4
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------&gt;spelling up %1
spellup other %1
say @Bspellup done&lt;------
rub</send>
</alias>
</aliases>


THANKS!