Hello guys iam a new member of techgear panel.1st leme tell ya abt my self.Iam 20male Pakistan.i need some help abt badwords kick command.Iam using vincula but in vincula (on ^*:TEXT:*ass*) if we put this word in kick then user kicked but some time we kick them for no reason these days lots of msnchat user chat in group if we use this word asst-manager then we again got kick if some1 open kick on badwords.in the other case if we put only(on ^*:TEXT:ass) without * then if we type ass we got kick but if we type hey u very nice person or i flower ur ass den we dont got any kick but simply if we wer use ass on da main chatroom den we got kick when we r not use * in word.One day i join msnchat n i see Welcome_Bot kick some 1 if we type ass then we got kick if we type asst-manager den no kick if we type ass hole den again kick i like this kick command so i ask (eXonyte) that would u pls tell me that this command also work in vincula?and what is this command for kick can u help me or this is not possible in scripts bcaz my friend said bots r using not irc scripts n its only possible in bot not in script so help me out i need this command caz when i on badwords kick i add also some pakiz badwords like chot,but if some type choti si bachi ( Iam a little girl ) in urdu den he got kick with no reason.i hope u understand what i mean.My english in not well...im waiting for ur reply if anyother do something help me please bcaz i want that msnchat user kick with reason n we dont kick them without any reason or our mistakes!
Using on text for this kind of things is not easy. I once made this one for that pupose. It could be a resource consumer in busy rooms.
; ===========================================
; Bad Words Kicker
; by: Pete®tje 2004
; ===========================================
menu * {
Bad Word Kicker $iif($group(#badwords) == on,(active),(not active))
.switch $iif($group(#badwords) == on,off,on) : {
$iif($group(#badwords) == on,.disable #badwords,.enable #badwords) }
.edit BadWords.txt:{ run notepad.exe BadWords.txt | BW_refresh }
.reload BadWords.txt:BW_refresh
}
on *:start: { BW_refresh }
on *:unload: { if ($hget(BadWords)) hfree BadWords }
alias BW_refresh {
if ($hget(BadWords)) hfree BadWords
hmake BadWords
hload -n BadWords BadWords.txt
}
alias hasBW {
tokenize 32 $1-
var %BW = $false, %i = $0
while (%i > 0 && %BW == $false) {
%BW = $hfind(BadWords,$eval($ $+ %i,2),1).data
dec %i
}
return %BW
}
#badwords on
on *:text:*:#:{ if ($hasBW($1-)) kick # $nick No bad words here }
on *:action:*:#:{ if ($hasBW($1-)) kick # $nick No bad words here }
#badwords end
Hi Luky good to meet you!
You are going to have to use punctuation whilst posting on forums, otherwise it could be a health hazard.
Theres a good chance someone could die if they happened to be holding their breath whilst reading a post like that!
Enjoy a bit of MSN Chat nostalgia? You'll love our fun retro webchat page!
on *:text:*:#:{
var %n = 1
while (%n <= $numtok($1-,32)) {
if ($gettok($1-, %n, 32) == $read(badwords.txt, s, $gettok($1-, %n, 32))) { kick $chan $nick Bad word: $gettok($1-,%n,32) | break }
inc %n
}
}
With the above, just list the "bad words" in badwords.txt
Added: This may also work:
on *:text:* $read(badwords.txt, s, $1-) *:#:{ kick $chan $nick Bad word: $read(badwords.txt, s, $1) }
I'm not sure about that one though...
Hi Luky good to meet you!
You are going to have to use punctuation whilst posting on forums, otherwise it could be a health hazard.
Theres a good chance someone could die if they happened to be holding their breath whilst reading a post like that!
Good point but I don't think this is an English Grammar lessons board. Especially with people from different countries and different dialects.
So I would suggest goin easy on the writing misstakes ![]()
![]()
![]()
![]()
You and me will all go down in history,
With a sad Statue of Liberty,
And a Generation that didn't agree.
Hi Luky good to meet you!
You are going to have to use punctuation whilst posting on forums, otherwise it could be a health hazard.
Theres a good chance someone could die if they happened to be holding their breath whilst reading a post like that!
Good point but I don't think this is an English Grammar lessons board. Especially with people from different countries and different dialects.
So I would suggest goin easy on the writing misstakes
misstakes ? ![]()
Yeah i agree with you on that, im just helping the guy learn how to use a forum ![]()
Enjoy a bit of MSN Chat nostalgia? You'll love our fun retro webchat page!
Sign in to reply or start a new topic where your account has permission.