Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
sjleonard
Beginner


Joined: 10 Jun 2002
Posts: 23
Location: United Kingdom

PostPosted: 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)
Reply with quote
sjleonard
Beginner


Joined: 10 Jun 2002
Posts: 23
Location: United Kingdom

PostPosted: 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)
Reply with quote
Johnbarberi
Newbie


Joined: 27 Feb 2003
Posts: 3
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net