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
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Fri Feb 03, 2006 12:10 am   

#loop and #trigger problem?
 
This is driving me nuts.

What I'm trying to do is based on how many corpse in the room, when I type the alias "gc" it will get all the coins in each dead corpse.

(2) corpse of a human is lying here.

#trigger {~(%d~) corpse (%w) here.} {#var corpsecount %1}
#alias {gc} {#loop 1,@corpsecount {get coins %{1}.corpse}}

For some reason this is not working.

Can someone assist me with this to keep me sane?
_________________
Thank you for everything, it's always appreciated.
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Fri Feb 03, 2006 1:34 am   
 
ok i got this to work now I added another alias to examine each corpse...

Not working again...

Don't ask me what I did to correct the first one...is there a bug or something?
_________________
Thank you for everything, it's always appreciated.
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Fri Feb 03, 2006 1:37 am   
 
Forget it...works.
_________________
Thank you for everything, it's always appreciated.
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