mIRC Home    About    Download    Register    News    Help

Print Thread
#90187 12/07/04 01:03 PM
Joined: Mar 2004
Posts: 20
E
eger Offline OP
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Mar 2004
Posts: 20
i would like that my script stops if in certain word in text is some predefined text(s)
there is an example that should work imo but it doesnt and i dont have a clue why, do i miss some wildcard or what
if (/text isin $11)
and is it possible to do like this if /text or /bla or /lala isin $11 then halt or do i have to put every on in new line ?

#90188 12/07/04 02:35 PM
Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
Code:
on *:text:#: {
  if (text isin $1-) || (blah isin $1-) || (lala isin $1-) { 
    do something 
  }
}

or, do do different things for each word ..
Code:
on *:text:#: {
  if (text isin $1-) {
    do something
  }
  if (blah isin $1-) {
    do something
  }
  if (lala isin $1-) { 
    do something 
  }
}


I refuse to engage in a battle of wits with an unarmed person. wink

Link Copied to Clipboard