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
takke
Beginner


Joined: 11 Oct 2002
Posts: 29
Location: Sweden

PostPosted: Wed Oct 30, 2002 10:22 am   

Auto Resurrect
 
Hi there

I want to make a trigger that automaticlly casts resurrection at ghosts.
The problem is that I want to put the names of the ghost in a list then
loop trough it untill all the ghost are ressed. Every time a mbr of the party
dies his name will be added to this list and when I have ressed him the name
will be deleted. Can anyone of you help me with this trigger?
I don't know If you need more info than this.
Reply with quote
darkfenix
Wanderer


Joined: 02 Feb 2002
Posts: 58

PostPosted: Wed Oct 30, 2002 11:30 am   
 
I donno maybe putting a few lines of how it looks like will make others to help you more.
Like what is the trigger line for the ghosts and the command for the resurrect maybe.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Oct 30, 2002 3:04 pm   
 
#VAR ghosts %null
#VAR party %null
#ADDITEM party george
#ADDITEM party julie
#TR {({@party}) died} {#ADDITEM ghosts %1}
#ALA 30 {#IF (@ghosts) {resurrect %item(@ghosts, 1);#DELNITEM ghosts 1}}

LightBulb
Senior Member
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