|
wheelman Novice
Joined: 30 Jan 2006 Posts: 41
|
Posted: Mon Feb 04, 2008 1:00 am
Question about #IF statement |
Is it possible to do something like.
Code: |
(%w) tells you '%2'. #IF (%2 == zoom OR summon) {c 'summon' %1} |
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Mon Feb 04, 2008 1:26 am |
Take your pick of these 2.
#TRIGGER {(%w) tells you '(%w)'} {#IF (%ismember(%2,"zoom|summon")) {c 'summon' %1}}
#TRIGGER {(%w) tells you '(%w)'} {#IF ((%2 = zoom) OR (%2 = summon)) {c 'summon' %1}} |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
wheelman Novice
Joined: 30 Jan 2006 Posts: 41
|
Posted: Mon Feb 04, 2008 1:40 am |
Works good, Thanks
|
|
|
|
|
|