Was having a hard time uploading this to the forums directly because I can't figure out how to make code tags work properly, so I uploaded to pastebin. Anyways, this is basically the "kill" command but more specific. All you have to do is paste this into a new SCRIPT (in the scripts section of mudlet, doesn't matter what you name it) then put "attack()" into an alias (name of alias nor what pattern you want to use matter).
This will use your class attack. It gets your class from the GMCP info and runs it against a table. The table is fairly easy to understand if you want to change something.
Edit: It's not really an improvement to using "kill", it's more of just a supplement. I created it because I was messing with tables and figured I'd share it too. Also, it doesn't work for dragon.
Comments