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.
V
Valodim

Post by Valodim »

LOL.

may I ask how old you are, ZaKir?
User avatar
j0n
Op
Posts: 140
Joined: Wed May 07, 2003 5:31 pm
Location: sjn.nb.ca
Contact:

Post by j0n »

Zakir:

1. Open Internet Explorer
2. Click on Tools
3. Click on Internet Options...
4. Tab over to Security
5. Click on Restricted Sites
6. Click on Sites
7. Where is says "Add this website to the zone" enter http://forum.egghelp.org
8. Click on Add then Ok twice
9. Close Internet Explorer
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Here you go, next time read the posts carefully.... understand them and then try todo what has been told in them.

For the above script you will having something like this:

Code: Select all

#Set the channel you want this script to work on.
set killchan "#mychannel" 

#Set the reason which will be included in the kill message.
set killreason "Forbidden words, you have been killed."

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

proc evil_word {nick host hand chan args} { 
global botnick killchan killreason 
    if {$chan != $killchan} {return 0} 
    if {$nick == $botnick} {return 0} 
    if {[isop $nick $chan]} {return 0}
    putserv "KILL $nick :$killreason"
   }    
return 1 
} 
·­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 »

Thanks a lottttttttttttttttttttt :) love ya....
Z
ZaKiR
Voice
Posts: 35
Joined: Wed Jun 16, 2004 10:05 pm

Post by ZaKiR »

Can u add one more thing on this script set badwords ""[\b]
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Here it is.
Try to do things yourself from now onwards.

Code: Select all

# Set the bad/swear words to kill on
set swearwords {
"bitch"
"slut"
"asshole"
"bastard"
"vagina"
}


#Set the channels to activate swear kill on.
set swearchans "#chan1 #chan2 #chan3"

#Set the kill reason. 
set swearkill "Forbidden word detected. You have been killed." 


bind pubm - * pub:swear:kick

proc pub:swear:kick {nick host hand chan text} {
 global botnick swearchans swearwords swearkill
  if {(([lsearch -exact [string tolower $swearchans] [string tolower $chan]] != -1) || ($swearchans == "*"))} {
  if {($swearkill == "")} { set swearkill "Killed: Badword detected." }
   foreach swearword [string tolower $swearwords] {
     if {[string match -nocase *$swearword* [string tolower $text]]} {
      if {([botisop $chan]) && (![isbotnick $nick]) && (![isop $nick $chan])} {
        putserv "KILL $nick :$swearkill" 
        }
      }
    }
  }
}
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Ever thought of trying to do some thing on your own and then ask if it hasn't worked?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
s
shanks
Voice
Posts: 19
Joined: Mon Aug 18, 2003 7:03 am

Post by shanks »

god help the people who join an IRC server where the ircops with potential to kill your connection are people like zakir....
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

you sure kill and zline alot of users on that server of yours.. got any users left ?
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

I think, this topic can be closed now as the problem has been solved 8)

-yeah baby-
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
D
DarkJFMan
Halfop
Posts: 85
Joined: Mon Dec 15, 2003 3:19 pm

Post by DarkJFMan »

Code: Select all

#Set the channel you want this script to work on.
set killchan "#mychannel"

#Set the reason which will be included in the kill message.
set killreason "Forbidden words, you have been killed."

#Set bad words
set badwords {
bad_word1
bad_word2
*bad_word1*
*bad_word2*
}

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

proc evil_word {nick host hand chan args} {
global botnick killchan killreason
    if {$chan != $killchan} {return 0}
    if {$nick == $botnick} {return 0}
    if {[isop $nick $chan]} {return 0}
    if {(([lsearch -exact [split [string tolower $killchan]] [string tolower $chan]] != -1) || ($killchan == "*"))} {
   foreach badwords [string tolower $badwords] {
    putserv "KILL $nick :$killreason"
   }   
return 1
}
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

That code doesn't make much sense..

The script is still triggered by those !. and @.. words, and you have 2 checks for a valid channel..

Not really sure what that foreach turning all the badwords into lowercase is about ...
Locked