hey plz i want the script read badword from text and if it in the text kick the nick
on *:TEXT:*: {
if (wt i 've to write here? ) { kick # $nick badword }
}
A TG007 community discussion started by rumba.
hey plz i want the script read badword from text and if it in the text kick the nick
on *:TEXT:*: {
if (wt i 've to write here? ) { kick # $nick badword }
}
on *:TEXT:*:#: {
var %l = 1
while ($read(badwords.txt,%l)) {
if ($read(badwords.txt,%l) isin $1-) { kick # $nick bad word | break }
inc %l
}
}
Something like this. basically just start a new text doc, put all the bad words in it, so the bad word you want the script to respond to, on it's own line, and save that as badwords.txt in mIRC's main directory.
the list would look like this
crap
stupid
lmao
etc.
Ofcourse i didn't use offensive words cause it wouldn't be good to.
so i tried to make it like this
on *:kick:*: {
 var %l = 1
 while ($read(text\kickreason.txt,%l)) {
  if ($read(text\kickreason.txt,%l) isin $1-) { kick # $nick bad word in the reason }
 }
}
but it didnt work and the script is hanging up also i can replace it with
if (shit isin $1-) { kick # $nick badword in reason }
but it will kick any word contain ''shit'' so i try to decrease the words
Sign in to reply or start a new topic where your account has permission.