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
Avangard
Newbie


Joined: 23 Aug 2004
Posts: 5

PostPosted: Tue Aug 24, 2004 1:25 am   

#IF comparing one to many
 
#IF %lower( "%2")!=( %lower( @FilterSchool)) {#GAG}

@FilterSchool is a list of values ie {A|b|C|DE|g}
how do i make it compare the value in %2 to each value in @FilterSchool
and send #GAG if it doesn't find one that matches?
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Tue Aug 24, 2004 1:42 am   
 
#IF (!%ismember(%lower("%2"),%lower(@FilterSchool))) {#GAG}
_________________
Zmud Support Library
Zmud Knowledge Base
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