|
LazyPitbull Beginner
Joined: 15 Dec 2001 Posts: 19 Location: USA
|
Posted: Fri Jan 04, 2002 3:43 pm
Auto-loot trigger help |
Hi, how do I make an autoloot trigger for this mud. Here is the text. You receive 5304 experience points. Thanks in advance :)
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Jan 04, 2002 4:02 pm |
Pick out a distinctive trigger phrase that will indicate that it's a good time to loot, such as "you receive %d experience". Use that as the trigger phrase. Decide what commands are needed for the action(s) you want to perform, such as "get gold corpse". Use that as the trigger value. You could do simple triggers like this for yourself with less effort than it takes to post a note here asking someone else to write it.
LightBulb |
|
|
|
Troubadour GURU
Joined: 14 Oct 2000 Posts: 556 Location: USA
|
Posted: Fri Jan 04, 2002 4:02 pm |
You can enter the following via the command line:
#TRIGGER {^You receive %d experience points.$} {get all corpse}
or if you just want the cash:
#TRIGGER {^You receive %d experience points.$} {get coins corpse; exam corpse}
In each of these the matching symbol %d is used to represent any number. The ^ and $ anchor the pattern to the start and end of line. You can add any number of commands as long as you separate them with a semi-colon.
Troubadour |
|
|
|
|
|