|
Inlocodeus Beginner
Joined: 14 Nov 2002 Posts: 15 Location: USA
|
Posted: Sat Apr 19, 2003 3:01 am
Need help making a Hunting Trigger or Alias |
Ok did a few serches using hunt hunting and such trying to find what i'm looking for but nothign came up. So first I ask if you know of a previously posted note in reguards to hunting triggers please ppoint that out.
Ok what I am attempting to do is make a trigger/alias/whatever was needed to make so all i would have to do is type hunt target and it takes me there without me having to type hunt target again. how I want it to work is I type hunt target it says target is say north from here. I want the trigger to go north then use the same target i put in in the beginning if that makes any sense.
Things that should be pointed out:
Players can change form and when you hunt them it shows that form
The where the target is messages are as follows:
The great old Mage is south from here.
The great old Mage is north from here.
The great old Mage is east from here.
The great old Mage is west from here.
etc.
I'm running on zMUD v.6.40 |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Sat Apr 19, 2003 4:00 am |
If I understand correctly:
hunt fool
might yield:
A large dopey dwarf is north of here.
Something like this (depends on your mud)
Figure out his current form
#ALIAS hunt {~hunt %1;#TEMP {^(*) is ({north|down|up|east|south|west}) from here.} {#VAR Hunted {%%1};%%2}
Hunt down the individual
#TRIGGER {^@Hunted is ({south|north|down|up|east|west}) from here.} {%1}
Stop your hunting of that individual
#TRIGGER {You have found your prey or equivalent trigger} {#VAR Hunted ""}
Ton Diening |
|
|
|
|
|