| View previous topic :: View next topic |
| Author |
Message |
l.kleijn Voice
Joined: 18 May 2014 Posts: 33
|
Posted: Fri May 22, 2020 5:38 pm Post subject: On startup |
|
|
Hi,
i want a timer on a script that the eggdrop connect to a znc.
| Quote: | 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 ? |
|
| Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 393
|
Posted: Fri May 22, 2020 10:09 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
l.kleijn Voice
Joined: 18 May 2014 Posts: 33
|
Posted: Sat May 23, 2020 1:53 am Post subject: |
|
|
| When the bot starts so it can connect to a znc |
|
| Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 393
|
Posted: Sat May 23, 2020 7:31 am Post subject: |
|
|
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: |
set init-server {
putquick "QUOTE pass user/network:password"
}
|
_________________ ComputerTech |
|
| Back to top |
|
 |
|