hey guys,
been a while since i put down my irc hat, so i'm a bit rusty..
i'm trying to do an on text trigger ... i have vars set from the trigger.
ON *:TEXT:*blah*:#:{
var %name = $strip($6)
var %section = $strip($3)
then i have a IF statement to check for a specific match for section. but, i also want it to make a second match in the %name var from a list IE: if item in the list match txt in %name then do stuff .... so in effect its two conditions:
if ( %section == BLAH ){
if ( list isin %name ) {
then do stuff but not sure how to go about it..
heres what the goto loop looks like..
:race
var %apple = blah
var %pears = blah
var %passionfruit = blah
var %cherries = %blah
var %plums = blah
/window -zk0 @blah | /aline -p @blah some text and vars here
; Line
some code here
}
any help would be appreciated... thanks