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 268 matches

by z_one
Wed Dec 12, 2007 8:03 am
Forum: Scripting Help
Topic: TCL error : Invalid timer ID
Replies: 3
Views: 4914

Yep I read this post. But I also read in another post: http://forum.egghelp.org/viewtopic.php?p=74519 that you can use the [info exists timer] to directly determine if a timer is already running. Code by "user". if {[info exists timer]} { killutimer $timer unset timer } Besides, Sir_Fz exp...
by z_one
Wed Dec 12, 2007 7:09 am
Forum: Scripting Help
Topic: TCL error : Invalid timer ID
Replies: 3
Views: 4914

TCL error : Invalid timer ID

I got the following procedure that kills a given utimer. proc killthetimer { global g_timerz if {[info exists g_timerz(timer:$l_uhost:$l_chan)]} { putlog "timer ID: $g_timerz(timer:$l_uhost:$l_chan)" killutimer $g_timerz(timer:$l_uhost:$l_chan) putlog "killed the timer" } } When ...
by z_one
Sun Dec 09, 2007 4:13 pm
Forum: Scripting Help
Topic: Weird behavior of FOREACH command
Replies: 5
Views: 4230

Yeah, sorry about that botnick thing ... I forgot to copy it here as I was typing the code manually. So basically, nml375, if I use the list-command I can use any of the following ? set thechanlist [list #chanA #chanB #chanC] OR set thechanlist [list "#chanA" "#chanB" "#chan...
by z_one
Sun Dec 09, 2007 2:41 am
Forum: Scripting Help
Topic: Weird behavior of FOREACH command
Replies: 5
Views: 4230

Weird behavior of FOREACH command

# list of channels set thechanlist "#chanA #chanB #chanC" proc whereisthebot {} { global thechanlist foreach chan $::thechanlist { if {[botonchan $chan]} { putlog "$botnick is on $chan" } } } Then in the bot .conf file I have added ChanA, ChanB and ChanC in this exact order. The...
by z_one
Fri Dec 07, 2007 8:01 am
Forum: Scripting Help
Topic: Cannot assign proc return value to a variable
Replies: 5
Views: 3612

Damn ! :oops:
Lol it's been years since I last wrote TCL code. I guess I need to re-read that stuff and refresh my memory !
Thanks guys.
by z_one
Fri Dec 07, 2007 7:15 am
Forum: Scripting Help
Topic: Cannot assign proc return value to a variable
Replies: 5
Views: 3612

User, because it was saying "invalid command name" so I though it was trying to evaluate the user's ban mask as a command.

rosc2112, thanks. I'll check the threads you indicated.
by z_one
Fri Dec 07, 2007 12:29 am
Forum: Scripting Help
Topic: Cannot assign proc return value to a variable
Replies: 5
Views: 3612

Cannot assign proc return value to a variable

Ok I'm writing a script with many functions but, assuming all variables in the code below are declared and the proc notice:nochannotice calls none:bankickthenick , why do I get the following error when a nick called tester (for example) sends a channel notice: Tcl error: invalid command name "t...
by z_one
Sun Dec 02, 2007 5:59 am
Forum: Eggdrop Help
Topic: Server says my nickname is invalid
Replies: 2
Views: 4650

Will do.
Thanks for the tips :)
by z_one
Sun Dec 02, 2007 1:59 am
Forum: Eggdrop Help
Topic: Server says my nickname is invalid
Replies: 2
Views: 4650

Server says my nickname is invalid

Hi, What event is raised when the bot says: "Server says my nickname is invalid" ? The thing is that after my bot gets disconnected and its nick is held by services on DALnet it cannot reconnect again. It keeps saying: "Server says my nickname is invalid". I have to telnet to the...
by z_one
Mon Jan 19, 2004 5:39 am
Forum: Archive
Topic: How do I...?
Replies: 3
Views: 1707

replace the line

Code: Select all

newchanban $chan *!*[string tolower [string range $uhost [string first @ $uhost] end]] quitban $qb_reason $qb_bantime
with

Code: Select all

putserv "mode $chan +b *!*[string tolower [string range $uhost [string first @ $uhost] end]]"
by z_one
Sat Jan 17, 2004 5:33 pm
Forum: Archive
Topic: default refresh time of nick list after netsplit
Replies: 3
Views: 3283

Thanks I'll give it a try.
I noticed there's another parameter : wait-info
But I think wait-split is what I need.
by z_one
Sat Jan 17, 2004 6:38 am
Forum: Archive
Topic: default refresh time of nick list after netsplit
Replies: 3
Views: 3283

default refresh time of nick list after netsplit

Say I have a bot that goes on a netsplit. When I log on to the partyline (a few minutes after the netsplit occurs) and type .channel #mychannel It still shows nicks that disappeared a few minutes ago such as @Drumer Drumer --- B - netsplit, 240s Zain Zain --- - netsplit, 240s Then after, say 5 minut...
by z_one
Sat Dec 13, 2003 6:05 pm
Forum: Archive
Topic: error???
Replies: 1
Views: 924

From the looks of it "cannot create executables" would mean you don't have permission to execute files when logged in to your account.
Check with the system administrator for the "x" permission (which means you can execute files).
Good luck.
by z_one
Sun Dec 07, 2003 4:29 pm
Forum: Archive
Topic: copied repeat script ? no author rights ?
Replies: 4
Views: 1474

copied repeat script ? no author rights ?

Hmmm...
Doesn't the script repeatpro.tcl ver 1.2 by Algol found here http://www.egghelp.org/cgi-bin/tcl_arch ... escription look like Slennox's netbots repeat ?
by z_one
Thu Dec 04, 2003 12:43 pm
Forum: Archive
Topic: Unixcon
Replies: 2
Views: 1055

Unixcon

Anyone heard about Unixcon ?
I subscribed with them 2 days ago and yet I got NO answer whatsoever so far !
I sent them an email, I even left a message on their forum ... nothing !
Although they say that they reply in a maximum delay of 12 hours.