04 March 2007

Trigger for the hunt command

Hey I added an extra trigger to the class. It is highlighted in red below.

Hi all,
Since I returned to playing AOC I've been using a ranger. This is my first ranger so I'm just experimenting with him. I like the hunt command but wish I didn't have to hit the enter key over and over again. I also wanted to kill the monster when I found him so I made a trigger to help me out. Well here it is. I just finished it today so if I have anyproblems with it I'll post it here and fix it. I hope ya'll like it. To use this just type hunt mobname and you will hunt it until you are at it and then kill it. I Put this trgger under a button so that I could toggle it on and off. I use the hunt command sometimes to hunt other char in my area and I don't want to kill them. So be warned make sure you type a good amount of the mobs name to make sure you don't attack another char. Also strongly suggest you set this up under a button. If you don't know how to make buttons read my autosplit trigger and you should be able to figure it out. Well good hunting.

#CLASS {shire}
#ALIAS hunting {#show %expandlist( @shire, ", ")}
#VAR shire {}
#TRIGGER {hunt %1} {#ADDITEM shire %1}
#TRIGGER {No-one around by that name.} {#DELNITEM shire 1}
#TRIGGER {You're already in the same room!!} {#FORALL @shire {kill %i}}
#TRIGGER {You sense a trail %1 from here!} {#FORALL @shire {hunt %i}}
#TRIGGER {kill %1} {#DELITEM shire %1}
#CLASS 0

No comments: