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.

Search found 72 matches

by WeiJie
Fri Dec 03, 2004 6:51 am
Forum: Archive
Topic: loading tcl scripts
Replies: 10
Views: 3170

How do I load a TCL by bot's partyline (DCC Chat)?
by WeiJie
Thu Oct 21, 2004 12:56 am
Forum: Archive
Topic: blacklist script
Replies: 8
Views: 2988

Set +k as a new blacklist user mode (if +k is not already a defined flag in the bot). If it is not defined then define it in a tcl. And when users join (bind join and bind splt), check their handle if their global/channel flags match +k use 'newchanban' as mentioned above with time '0' to ban them,...
by WeiJie
Thu Sep 30, 2004 12:57 am
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

Anyone got any idea?
by WeiJie
Tue Sep 28, 2004 11:25 pm
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

Tcl: syntax error in expression "(![info exists netsplit_lock]) && ([lsearch -exact $checkmod" Tcl: ("if" test expression) Tcl: while compiling Tcl: "if {(![info exists netsplit_lock]) && ([lsearch -exact $checkmode "m"] == -1) && ([string m...
by WeiJie
Tue Sep 28, 2004 8:20 pm
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

MeTroiD wrote:

Code: Select all

bind pub n "\$error" tcldebug:error

proc tcldebug:error {nick host hand chan args} {
  foreach line [split $::errorInfo \n] {
    putquick "PRIVMSG $chan :$line"
  }
}
Where should I place this at?
by WeiJie
Tue Sep 28, 2004 8:20 pm
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

gb wrote:It's 'errorInfo', not 'errorinfo'. CaSe matters.
<user> .tcl set errorinfo
<bot> Tcl error: can't read "errorinfo": no such variable
by WeiJie
Tue Sep 28, 2004 7:37 am
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

Code: Select all

.tcl set errorInfo
The bot replies,

Tcl: can't read "errorinfo": no such variable
Tcl: while executing
Tcl: "set errorinfo"
by WeiJie
Mon Sep 27, 2004 11:35 pm
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

Restarted..

<user> .tcl set errorInfo
<bot> What? You need '.help'
by WeiJie
Mon Sep 27, 2004 8:47 am
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

Hmmm... I added # infront but it still doesn't work...
#Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.
#unbind dcc n tcl *dcc:tcl
#unbind dcc n set *dcc:set
by WeiJie
Mon Sep 27, 2004 6:54 am
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

<Bot> What? You need '.help'

:roll:

Mmm... Does the TCL detect fake quit msg too?
Etc.

* Quits: Eggy (egg@egghelp.org) (Quit (boston.ma.us.galaxynet.org singnet.sg.galaxynet.org))
by WeiJie
Mon Sep 27, 2004 5:16 am
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

Mmm... I still got this error after I edited the TCL...
Tcl error [netsplit:lock]: syntax error in expression "(![info exists netsplit_lock($chan)]) && ([lsearch -exact $c"
by WeiJie
Mon Sep 27, 2004 3:58 am
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

Oh ok, but I've tested this: bind sign - * netsplit:lock proc netsplit:lock {nick uhost hand chan text {reason ""}} { global botnick netsplit_lock set checkmode [string trim [lindex [split [getchanmode $chan]] 0] "+"] if {(![info exists netsplit_lock]) && ([lsearch -exact...
by WeiJie
Mon Sep 27, 2004 3:21 am
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

set netsplitchans "#chan1 #chan2 #chan3" proc netsplit:lock {nick uhost hand chan text} { global netsplitchans if {([lsearch -exact [split [string tolower $netsplitchans]] [string tolower $chan]] == -1)} { return 0 } ............................... ........................ ..................
by WeiJie
Sun Sep 26, 2004 10:58 am
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

Oh ya, does this works? bind sign - * netsplit:lock bind pub n|m !ns ns_switch proc netsplit:lock {nick uhost hand chan text {reason ""}} { global botnick netsplit_lock set checkmode [string trim [lindex [split [getchanmode $chan]] 0] "+"] if {(![info exists netsplit_lock]) &...
by WeiJie
Sun Sep 26, 2004 10:17 am
Forum: Archive
Topic: TCL needed help
Replies: 72
Views: 17306

Oh, mmm...
So the codes that u post previously works on every channels that the bot is in?