| View previous topic :: View next topic |
| Author |
Message |
mikkeldk Voice
Joined: 15 Mar 2008 Posts: 7
|
Posted: Fri May 02, 2008 2:52 am Post subject: cmd_cons.tcl |
|
|
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?
| 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 |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Fri May 02, 2008 11:51 am Post subject: |
|
|
| The problem is more than likely [] and {} in nicknames crash this script. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri May 02, 2008 12:29 pm Post subject: |
|
|
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 |
|
 |
smash Halfop
Joined: 31 Jul 2006 Posts: 45
|
Posted: Fri May 02, 2008 6:47 pm Post subject: |
|
|
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.  _________________ quakenet #fraguk www.fraguk.com
hosting 113 scripts @ this time! |
|
| Back to top |
|
 |
|