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.

cmd_cons.tcl

Support & discussion of released scripts, and announcements of new releases.
Post Reply
m
mikkeldk
Voice
Posts: 7
Joined: Sat Mar 15, 2008 6:07 pm

cmd_cons.tcl

Post by mikkeldk »

Hi Egghelp .

I have found one Script on egghelp's database ..
and i downloaded and Loaded it ..
so i get Error? - i dont know what error are so . Maybe Egghelp can help me :)

Thx for Support? :P

Code: Select all

[08:46] missing close-brace
    while executing
"proc msg_databot {nick uhost hand rest} {
        global botnick botname server version uptime server-online cmdconslg
        puthelp "NOTICE $nick :$cmdconslg Nic..."
    (file "scripts/cmd_cons.tcl" line 34)
    invoked from within
"source scripts/cmd_cons.tcl"
    (file "eggdrop.conf" line 74)
Script files are :

Code: Select all

proc msg_databot {nick uhost hand rest} {
	global botnick botname server version uptime server-online cmdconslg
	puthelp "NOTICE $nick :$cmdconslg Nickname: ${botnick}. Hostname: [lindex [split ${botname} !] 1]."
	puthelp "NOTICE $nick :$cmdconslg Current IRC server: ${server}, Active for: [expr [unixtime] - ${server-online}] sec(s)."
	puthelp "NOTICE $nick :$cmdconslg Eggdrop version: ${version}. Uptime: [expr [unixtime] - ${uptime}] sec(s)."
	putcmdlog "$cmdconslg <<$nick>> !$hand! Bot Info."
}

proc pub_databot {nick uhost hand chan rest} {global SVRPRM botnick cmdconslg ; msg_databot $nick $uhost $hand $rest}

proc msg_settcl {nick uhost hand rest} {
	global botnick cmdconslg
	if {![matchattr $hand Q]} {putquick "NOTICE $nick :$cmdconslg You haven't authenticate Yourself. Type: \[/msg $botnick auth <password>\] to do so." ; return 0}
	utimer 1 rehash ; putquick "NOTICE $nick :$cmdconslg Rehashing TCL script(s) and variable(s)."
	putcmdlog "$cmdconslg <<$nick>> !$hand! Rehash." ; return 0
}

Maybe U/all Can help me??

and one more to ..

Howto i changes bot nick? on !tcl ::set-nick ?

GL HF

//Mikkel
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

The problem is more than likely [] and {} in nicknames crash this script.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

I don't see any unbalanced braces in the script, make sure you have the whole script (as pasted) loaded.
s
smash
Halfop
Posts: 45
Joined: Mon Jul 31, 2006 12:33 pm

Post by smash »

Howto i changes bot nick? on !tcl ::set-nick ?

!tcl set ::nick bla bla

I would get tcl.tcl script if i was you , to do commands useing tcl in channel. :wink:
quakenet #fraguk www.fraguk.com
hosting 113 scripts @ this time!
Post Reply