egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cmd_cons.tcl

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
mikkeldk
Voice


Joined: 15 Mar 2008
Posts: 7

PostPosted: Fri May 02, 2008 2:52 am    Post subject: cmd_cons.tcl Reply with quote

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 Smile

Thx for Support? Razz

Code:
[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:
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
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Fri May 02, 2008 11:51 am    Post subject: Reply with quote

The problem is more than likely [] and {} in nicknames crash this script.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri May 02, 2008 12:29 pm    Post subject: Reply with quote

I don't see any unbalanced braces in the script, make sure you have the whole script (as pasted) loaded.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
smash
Halfop


Joined: 31 Jul 2006
Posts: 45

PostPosted: Fri May 02, 2008 6:47 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber