mIRC Homepage
Posted By: XGamerAMD mencion text - 26/03/22 08:37 PM
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
Posted By: Wims Re: mencion text - 26/03/22 09:00 PM
*vendo flores* iswm $1- instead of $1- iswm *vendo flores*
Posted By: Epic Re: mencion text - 26/03/22 09:08 PM
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
Posted By: XGamerAMD Re: mencion text - 26/03/22 10:34 PM
doesnt work but thnx
Posted By: XGamerAMD Re: mencion text - 27/03/22 12:26 AM
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
© mIRC Discussion Forums