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.
Help for those learning Tcl or writing their own scripts.
l.kleijn
Voice
Posts: 33 Joined: Sun May 18, 2014 10:02 am
Post
by l.kleijn » Fri May 22, 2020 5:38 pm
Hi,
i want a timer on a script that the eggdrop connect to a znc.
example: bind cron - */1 znc:do
proc znc:do {} {
putserv "QUOTE pass /User/passwd"
}
But this is not working.
The error i get: Tcl error [znc:do]: wrong # args: should be "znc:do"
Anyone ?
ComputerTech
Master
Posts: 399 Joined: Sat Feb 22, 2020 10:29 am
Contact:
Post
by ComputerTech » Fri May 22, 2020 10:09 pm
um well do you want the script to work when the bot joins the server or you type a command to login into the znc?
i'm going to bed now will help more tomorrow
ComputerTech
l.kleijn
Voice
Posts: 33 Joined: Sun May 18, 2014 10:02 am
Post
by l.kleijn » Sat May 23, 2020 1:53 am
When the bot starts so it can connect to a znc
ComputerTech
Master
Posts: 399 Joined: Sat Feb 22, 2020 10:29 am
Contact:
Post
by ComputerTech » Sat May 23, 2020 7:31 am
Ok, so once your bot has connected to the ZNC, it will issue this command,
the "init-server" is a block on the eggdrop.conf, that basically runs commands when the bot joins a server, (e.g) identify to nickserv.
Code: Select all
set init-server {
putquick "QUOTE pass user/network:password"
}
ComputerTech