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


Joined: 28 Jul 2004
Posts: 21
Location: Canada

PostPosted: Fri Sep 11, 2009 2:34 am   

A little help with #if
 
I am trying this and it doesn't seem to work for me:

%1 tells the group to 'kill %2'
#IF ismember {( @tank, %1) (kill %2) (snicker %1)}
Reply with quote
Moo
Apprentice


Joined: 10 Apr 2009
Posts: 145

PostPosted: Fri Sep 11, 2009 2:53 am   
 
It seems what you would want is..
Code:
#IF (%ismember(@tank, %1)) {kill %2} {snicker %1}
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