 |
sjleonard Beginner
Joined: 10 Jun 2002 Posts: 23 Location: United Kingdom
|
Posted: Mon Jun 10, 2002 5:11 pm
Kill Trigger List problems |
Okay, here's my problem. I play in T2T (The Two Towers - a Tolkein MUD) and had a kill script, the problem is that many of my friends have fallen foul to my kill script.
My plan was to write a list of all the enemies I hunt, then parse the list and compare to the %w I take in. Here is what I came up with:
list="orc|easterling|uruk|spirit|goblin|troll"
#FORALL @list {#IF (%i=~%1) {kill %i}}
with:
(%w) is bleeding to death
as the pattern.
However, for some reason it does a grand total of nothing! I know the pattern is correct because I tried just outputting a line from the trigger (and have use the trigger with 'kill %1' for ages).
I'm a decent programmer but a little new to any advanced zMud stuff, I just use aliases mainly.
Anyway, anyone wanna offer help?
Stewart
AKA Switch (T2T) |
|
|
 |
sjleonard Beginner
Joined: 10 Jun 2002 Posts: 23 Location: United Kingdom
|
Posted: Mon Jun 10, 2002 5:17 pm |
My greatest appologies.
I forgot that it was case sensitive.
I'll be killing myself in shame this evening :)
Stewart
AKA Switch (T2T) |
|
|
 |
Johnbarberi Newbie
Joined: 27 Feb 2003 Posts: 3 Location: USA
|
Posted: Thu Feb 27, 2003 6:44 pm |
Hey Switch,
I am Barberi from the Two Towers. I was just wondering how you ended up doing this. I don't use Zmud, however. I use Goltemud and it is very similar to Zmud. I am trying to get as much help as possible to learn the funtions of Goltemud. If you can help me out, please do.
Thanks
John Barberi, the Zmud newbie |
|
|
 |
|
|