Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
shaun.murray
Magician


Joined: 23 Jul 2005
Posts: 334
Location: Chicago

PostPosted: Thu Jul 24, 2008 8:45 pm   

#if (bleh = !BLAH) OR (bleh = BLAH!) help...
 
Code:
#trigger {^## &%xchannel %2} {#IF (@channel = "(Channel:") {#CAPTURE {channels}} {#CAPTURE {info}}}


But what I need it to be is #if (@channel = "(Channel:") OR "A Monk voice"). I've also tried "(Channel:"|"A Monk voice" but that didn't seem to work either. I'm sure its easy, just haven't done anything like that. I WOULD use a stringlist and work with it that way, but alas thats broken atm... =[

thanks! =D
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Jul 24, 2008 9:01 pm   
 
#IF ((@channel="Channel:") OR (@channel="A Monk voice"))
#IF ((@channel="Channel:") || (@channel="A Monk voice"))
This one might have a problem:
#IF (%ismember(@channel,"(Channel:|A Monk voice"))
This one would be yet another way:
#IF (%match(@channel,"{Channel:|A Monk voice}"))
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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