mIRC Home    About    Download    Register    News    Help

Print Thread
#270074 26/03/22 08:37 PM
Joined: Apr 2005
Posts: 111
X
Vogon poet
OP Offline
Vogon poet
X
Joined: Apr 2005
Posts: 111
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

XGamerAMD #270075 26/03/22 09:00 PM
Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
*vendo flores* iswm $1- instead of $1- iswm *vendo flores*


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
XGamerAMD #270076 26/03/22 09:08 PM
Joined: Jan 2012
Posts: 301
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Jan 2012
Posts: 301
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


🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples
Wims #270077 26/03/22 10:34 PM
Joined: Apr 2005
Posts: 111
X
Vogon poet
OP Offline
Vogon poet
X
Joined: Apr 2005
Posts: 111
doesnt work but thnx

Epic #270078 27/03/22 12:26 AM
Joined: Apr 2005
Posts: 111
X
Vogon poet
OP Offline
Vogon poet
X
Joined: Apr 2005
Posts: 111
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


Link Copied to Clipboard