This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Requesting Script

Old posts that have not been replied to for several years.
Z
ZaKiR
Voice
Posts: 35
Joined: Wed Jun 16, 2004 10:05 pm

Requesting Script

Post by ZaKiR »

Hi.. It's me again... I need ur kind help

If someone says bad words in particular channels bot will perfrom this command /kill nick bad word detected

there will be set badword"" and set channels"" in this script

Thanks a lot...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Z
ZaKiR
Voice
Posts: 35
Joined: Wed Jun 16, 2004 10:05 pm

Post by ZaKiR »

Not working... can`t find anyone... kill on badwords... someone please help me...
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

There are many scripts in the egghelp tcl archive for this purpose.
But they will kick ban a user instead of killing him from the server.

You might want to change the lines in the scripts which contain

putserv "KICK $chan $nick .......
putserv "MODE $chan $nick .......
or
the same with "putquick", "pushmode"
or
maybe 'newchanban $chan $banmask .....' or 'newban $banmask ......'

You would have to replace these lines with the kill command
in the tcl script, making sure your bot has an oline and can disconnect
that user from the server as well.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Z
ZaKiR
Voice
Posts: 35
Joined: Wed Jun 16, 2004 10:05 pm

Post by ZaKiR »

Please I cant make it... help me out.... thanks
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

Umm nice attitude.
Z
ZaKiR
Voice
Posts: 35
Joined: Wed Jun 16, 2004 10:05 pm

Post by ZaKiR »

gb bro... iwill be greatful if u help me... thanks a lot :).. love ya...
d
dollar
Op
Posts: 178
Joined: Tue Oct 28, 2003 3:47 pm
Location: Netherlands

Post by dollar »

Instead of posting useless crap, go fix your problem yourself :P
dollar (or something similar) at:
#eggdrop / #tcl - undernet
#egghelp / #tcl / #eggtcl - efnet
#eggdrop.support / #tcl - quakenet
#eggdrop - ircnet
Z
ZaKiR
Voice
Posts: 35
Joined: Wed Jun 16, 2004 10:05 pm

Post by ZaKiR »

If someone says bad words in particular channels bot will perfrom this command /kill nick bad word detected

there will be set badword"" and set channels"" in this script...

This is a simple code to u guyz... but for me it's impossible... iw ill be greateful... please help me out...
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

Nothing is impossible... You can't keep making requests for someone else to keep doing the simplest of scripts for you... If you are going to need as many scripts as you seem to be requesting, then you really need to learn Tcl for yourself...

http://www.suninet.nl/tclguide/
Z
ZaKiR
Voice
Posts: 35
Joined: Wed Jun 16, 2004 10:05 pm

Post by ZaKiR »

Please help for the last time ;)
s
shanks
Voice
Posts: 19
Joined: Mon Aug 18, 2003 7:03 am

Post by shanks »

zakir... do you even read people's replies?

there are already loads of badword scripts... just get one of those and just change the line that tells the bot what to do
Z
ZaKiR
Voice
Posts: 35
Joined: Wed Jun 16, 2004 10:05 pm

Post by ZaKiR »

I do read people's reply.. all i need is just help... :)
Z
ZaKiR
Voice
Posts: 35
Joined: Wed Jun 16, 2004 10:05 pm

Post by ZaKiR »

Code: Select all

bind pub - "!list" evil_word
bind pub - "@locate" evil_word
bind pubm - "*!list*" evil_word
bind pubm - "*@locate*" evil_word

#Set your channel name under the 'el_chan' variable and modify reason and banreason 
#to suit your liking (especially if you changed the word).
set el_chan ""
set reason "We \037strictly\037 prohibit the usage of the !list or @locate command, enjoy a 1 hour ban."
set banreason "!list and @locate are for losers."

#Under newchanban, change the 60 to the specified time you want the ban to last (in minutes).

proc evil_word {nick host hand chan args} {
global botnick el_chan banreason reason
    if {$chan != $el_chan} {return 0}
    if {$nick == $botnick} {return 0}
    if {[isop $nick $chan]} {return 0}
    newchanban $chan [maskhost $host] $botnick $banreason 60
    putserv "KICK $chan $nick :$reason"
    puthelp "NOTICE $nick :$reason"

	}    
return 1
}

Please modify it for kill (instead of ban) --> /kill nick reason


Thanks a lot
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

*tip*

putserv "KILL $nick :$reason"

But you also need to remove thingie for banning :mrgreen:
Locked