|
nawat Newbie
Joined: 25 Sep 2002 Posts: 2
|
Posted: Wed Sep 25, 2002 5:10 pm
problem with trigger and loop |
i want to make a trigger that will automatically kill the npcs
here are the pattern
[ 3 ] druids concentrate and talk to the stone walls.
i also want to it to make a loop so that i will kill all those three
druids i've try
#action {[ %d ] druids concentrate and talk to the stone walls.} {#loo %1 {kill druid}}
but it doesn't work
anyone can help me? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Sep 25, 2002 6:40 pm |
[ and ] are special characters, so you have to precede them with a ~ to tell zMUD to treat them like ordinary characters. Also, you need to put parentheses around the parts of the trigger phrase you want to use as numbered parameters.
#action {~[ (%d) ~] druids concentrate and talk to the stone walls.} {#loo %1 {kill druid}}
LightBulb
Senior Member |
|
|
|
nawat Newbie
Joined: 25 Sep 2002 Posts: 2
|
Posted: Thu Sep 26, 2002 11:10 am |
thank you very much i really appreciated it
and another thing i want to know is how to
walk automically and then if u find a npcs
i will kill them automically too. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Sep 26, 2002 5:07 pm |
See almost any of the many topics on "bots". Use the Search link at the top of the page.
LightBulb
Senior Member |
|
|
|
|
|