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.

chanserv akick

Old posts that have not been replied to for several years.
p
psyduck
Voice
Posts: 7
Joined: Wed Jul 13, 2005 3:44 am

Post by psyduck »

demond wrote:

Code: Select all

bind kick - * foo
proc mode - "% +b" bar
proc foo {n u h c t r} {
   if {[str eq -noc $t $::botnick] && ![matchattr $h m|m $c]} {
      takick $u $c
   }
}
proc bar {n u h c m v} {
   if {[str mat -noc $m $::botname] && ![matchattr $h m|m $c]} {
      takick $u $c   
   }
}
proc takick {u c} {
   putserv "chanserv :akick $c add *!$u"
   timer 30 [list putserv "chanserv :akick $c del *!$u"]
}
[14:03] <GameBot> [06:04] Tcl error in file 'eggdrop.conf':
[14:03] <GameBot> [06:04] wrong # args: should be "proc name args body"
[14:03] <GameBot> while executing
[14:03] <GameBot> "proc mode - "% +b" bar "
[14:03] <GameBot> (file "scripts/akick1.tcl" line 2)
[14:03] <GameBot> invoked from within
[14:03] <GameBot> "source scripts/akick1.tcl"
[14:03] <GameBot> (file "eggdrop.conf" line 1349)
[14:03] <GameBot> [06:04] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
-
DCC session closed
D
Decl
Voice
Posts: 26
Joined: Thu Jul 14, 2005 1:50 am
Location: Tartu, Estonia
Contact:

Post by Decl »

Sir_Fz wrote:bte7ke 3arabe? or govorish po ruski? :lol:
Da.. mozhet govorish' po-russki ?
or.. Äkki räägid eesti keelt ?
Suomi ?
Contact: [CB]Decl @ #ClanBase (QuakeNet)
www.clanbaseradio.com
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

is it just me or is this forum really get increasingly occupied by more people who don't actually know a thing about scripting?

substitute 'proc' with 'bind' on the second row
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Its the Next Generation man. Since whan has the new generation ever helped themselves? If it doesn't come pre packaged or is in the slightest bit difficult they just concede defeat. We are all doomed ;)
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

^DooM^ wrote:Its the Next Generation man. Since whan has the new generation ever helped themselves? If it doesn't come pre packaged or is in the slightest bit difficult they just concede defeat. We are all doomed ;)
you live up to your nick :P
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

heh you should of seen me new years eve 1999... :P
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
Locked