|
shaun.murray Magician
Joined: 23 Jul 2005 Posts: 334 Location: Chicago
|
Posted: 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 |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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 |
|
|
|
|
|