Skip to content
MSN

Again need help!

A TG007 community discussion started by Luky¬.

Discussion 6 posts
Page 1 of 1
Open
Topic #2318 · 6 published posts · 555 views

I need Help about Badwords on past i would talk 2 this issue on Techgear but i don't have any good responce like to get perfect command please help me 2 sold out! I need a badwords kicker i have lots of but i want a perfact badwords kickers 1 time i see that on TheLObby My_Bot use this command too but i don't get this anywhere.

 

"Example"

 

*ahmed* <<====== is the detect word

 

(1)-Regular commands

 

Hi my name is Ahmed (Kicked)

Hi my name isAhmed (Kicked)

Hi my name is Ahmeds (Kicked)

ahmed (Kicked)

ahmeds (Kicked)

ahmed is my name (Kicked)

ahmeds is my name (Kicked)

Hi ahmed is my name (Kicked)

Hi ahmeds is my name (Kicked)

 

(2)-This Command i have it but i don't need because its not working 100% (I get this @ Techgear)

 

Hi my name is Ahmed (Kicked)

Hi my name isAhmed (Not Worked) Good

Hi my name is Ahmeds (Not Worked) Good

ahmed (Kicked) Good

ahmeds (Not Worked) Good

ahmed is my name (Not Worked) Bad

ahmeds is my name (Not Worked) Good

Hi ahmed is my name (Not Worked) Bad

Hi ahmeds is my name (Not Worked) Good

 

(3)-This Command i need

 

Hi my name is Ahmed (Kicked)

Hi my name isAhmed (Not Worked) Good

Hi my name is Ahmeds (Not Worked) Good

ahmed (Kicked) Good

ahmeds (Not Worked) Good

ahmed is my name (Kicked) Good

ahmeds is my name (Not Worked) Good

Hi ahmed is my name (Kicked) Good

Hi ahmeds is my name (Not Worked) Good

---------------------------------------------------------------------------------------

 

I hop you guys understand da example of this i mean i need 100% badword detect if any words with it like Ahmed its kicked but dont kicked @ ahmeds,adahmed and detect correct word in middle last or 1st in TEXT so please help me out but 1st check it yourself Thankyou!

 

Luky¬

Made by IceAngel

 

 

on 1:TEXT:*:*:{

var %x = 1, %i = $lines(badword.txt)

while (%x <= %i) {

var %badwd = $read(badword.txt,%x)

if (%badwd $+ $chr(32) isin $1-) || ($chr(32) $+ %badwd isin $1-) || (%badwd == $1) {

access $comchan($nick,1) add deny $nick 10 :Watan Script Profanity Ban, Added By $me @ $time The $date

access $comchan($nick,1) add deny $address 10 :Watan Script Profanity Ban, Added By $me @ $time The $date

kick $comchan($nick,1) $nick $read text/kicks.txt (Using Profanity " $+ %badwd $+ " 10 Minutes Ban)

halt

}

inc %x

}

}

on 1:ACTION:*:*:{

var %x = 1, %i = $lines(badword.txt)

while (%x <= %i) {

var %badwd = $read(badword.txt,%x)

if (%badwd $+ $chr(32) isin $1-) || ($chr(32) $+ %badwd isin $1-) || (%badwd == $1) {

access $comchan($nick,1) add deny $nick 10 :Watan Script Profanity Ban, Added By $me @ $time The $date

access $comchan($nick,1) add deny $address 10 :Watan Script Profanity Ban, Added By $me @ $time The $date

kick $comchan($nick,1) $nick $read text/kicks.txt (Using Profanity " $+ %badwd $+ " 10 Minutes Ban)

halt

}

inc %x

}

}

Edited Dec 22, 2004 9:02 PM by Sorcerer

on *:TEXT:*:#:{
 tokenize 32 $chr(32) $+ $strip($1-) $+ $chr(32)
 if ($+($chr(32),ahmed,$chr(32)) isin $1-) kick $chan $nick :oh no you said a bad wordy word.
}

 

o00o0oooORRRrr...

 

if you want more words than just "ahmed" (which i assume you do...)

 

1. make a .txt file in the main mIRC folder and put each bad word on a separate line

2. use this code:

 

on *:TEXT:*:#:{
 tokenize 32 $chr(32) $+ $strip($1-) $+ $chr(32)
 var %wl = 1
 while (%wl <= $lines(TEXTFILENAME)) {
   if ($+($chr(32),$read(TEXTFILENAME,%wl),$chr(32)) isin $1-) kick $chan $nick :oh no you said a bad wordy word.
 inc %wl
 }
}

Edited Dec 22, 2004 9:08 PM by vexation

bfush.PNG

Thanks for Help but i said 1st checkit ur self too lol Sorcerer your command works 100% but there a error on it ( hi ahmedfd )(hi aahmed is)(hi ahmeds) i got kicked on this command so fix it too.Vexi your command

 

 

Hi my name is Ahmed (Sorcerer) Works

Hi my name isAhmed (Sorcerer) Works

Hi my name is Ahmeds (Sorcerer) Not working (Kicked again)

ahmed (Sorcerer) Works

ahmeds (Sorcerer) Works

ahmed is my name (Sorcerer) Works

ahmeds is my name (Sorcerer) Works

Hi ahmed is my name (Sorcerer) Works

Hi ahmeds is my name (Sorcerer) Not working (Kicked again)

Edited Dec 22, 2004 10:00 PM by Luky¬

i dont think theres anyway to make it perfect words r very hard to set

Thankyou i fix it its works 100% now anyway Thanks TechGear team