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
Alexiel
Novice


Joined: 05 Mar 2007
Posts: 33
Location: Paulsboro,NJ

PostPosted: Tue Nov 06, 2007 8:29 pm   

Quick question
 
I play on Legends of Kallisti and am still a bit confused by all that Zmud can do. I'm trying to make a no-rescue/no-spell trigger. Basically I want to be able to look at my group and if certain people are in there they will not be rescued or healed by my characters.
When I look at my group I see this:
[ Kelric - Sunzi - Jashan ] (front)
[ Alexiel - Newport - Drakkon ] (middle)
[ Nubbs - Shasta - Draxxus ] (back)
I know I have to make a list of the people ie: #var {noresc} {person 1|person 2|ect} and #var {nospell} {person 1|person 2|ect}
So how would I use the lists to make sure that those people on the list recieve no help from my characters?
Thanks in advance.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Nov 06, 2007 8:42 pm   
 
In whatever aliases or triggers are doing the help, just do

#alias cure {#if (!%ismember(%1,@nospell)) {cast cure %1}}

It's possible that I've misunderstoof the way your MUD works, though, since I don't understand the relevance of the MUD ouput you have there. If this isn't what you're after, describe exactly what actions you want the script to simulate, eg:

1) Check my group
2) See if anyone in the group is on my nospell list
3) If they are, send the command "noresc <theirname>"
4) Repeat 2 and 3 for nospell.

Or something like that.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Alexiel
Novice


Joined: 05 Mar 2007
Posts: 33
Location: Paulsboro,NJ

PostPosted: Tue Nov 06, 2007 9:23 pm   
 
Aye you described what I want, there's also other spells, but once I get the basics running I can make the triggers properly.
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