In most of the MUDs I play, certain classes attacks are long to type, and have to have a target distinction. How would I write a script auto target the mob/player I am battling, using aliases for the attacks? I have the aliases already, just can't get the scripting to work right. Sorry to bug You with this...
Auto-Target Scripting
Posted by Thalinos on Fri 08 Aug 2014 10:00 PM — 4 posts, 20,840 views.
You need to post some example MUD output. How would the script know what mob you are attacking?
Thalinos said:
I have the aliases already, just can't get the scripting to work right.
I have the aliases already, just can't get the scripting to work right.
Best to post what you have. We don't know what your aliases are, what your script is, and in what way it doesn't work.
For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.
If you have aliases already, why not use %1 in the aliases to designate your target dynamically when you trigger the alias?
alias mm cast 'magic missile' %1
mm <target>
alias mm cast 'magic missile' %1
mm <target>