mIRC Home    About    Download    Register    News    Help

Print Thread
mencion text #270074 26/03/22 08:37 PM
Joined: Apr 2005
Posts: 71
X
XGamerAMD Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Apr 2005
Posts: 71
ON *:TEXT:*:#: {
if $1- iswm *vendo flores* { .echo 7,6 badwords detect  }
}

in english i sold flowers


i think its fine , but doesnt work , any help

Re: mencion text [Re: XGamerAMD] #270075 26/03/22 09:00 PM
Joined: Jul 2006
Posts: 3,880
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,880
*vendo flores* iswm $1- instead of $1- iswm *vendo flores*

Re: mencion text [Re: XGamerAMD] #270076 26/03/22 09:08 PM
Joined: Jan 2012
Posts: 198
Epic Offline
Vogon poet
Offline
Vogon poet
Joined: Jan 2012
Posts: 198
Try this code variant:
Code
on *:TEXT:*:#:{
  if (*vendo flores* iswm $1-) { .echo $chan 07,06 badwords detect  }
}

Never don't forget to use parentheses to create a condition: "if (...condition...)".

Also check out how to correctly use operators in a condition: https://en.wikichip.org/wiki/mirc/operators


🌐 irc.epicnet.ru 6667 #Code 📜 mIRC scripts, help, discussion, analysis, examples
Re: mencion text [Re: Wims] #270077 26/03/22 10:34 PM
Joined: Apr 2005
Posts: 71
X
XGamerAMD Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Apr 2005
Posts: 71
doesnt work but thnx

Re: mencion text [Re: Epic] #270078 27/03/22 12:26 AM
Joined: Apr 2005
Posts: 71
X
XGamerAMD Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Apr 2005
Posts: 71
Originally Posted by Epic
Try this code variant:
Code
on *:TEXT:*:#:{
  if (*vendo flores* iswm $1-) { .echo $chan 07,06 badwords detect  }
}

Never don't forget to use parentheses to create a condition: "if (...condition...)".

Also check out how to correctly use operators in a condition: https://en.wikichip.org/wiki/mirc/operators



thnx for the help