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.

identify nick random

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
abah
Halfop
Posts: 88
Joined: Sun Dec 01, 2013 3:04 am
Location: Indonesia

identify nick random

Post by abah »

Hello
Can anyone help me make a tcl to identify nicks because I have 8 nicks so every 4 hours the nicks take turns identifying without changing the bot's nick
abah - Kota Makassar - Indonesia
p
pektek
Halfop
Posts: 56
Joined: Sat Jul 01, 2023 4:51 pm

Re: identify nick random

Post by pektek »

User avatar
abah
Halfop
Posts: 88
Joined: Sun Dec 01, 2013 3:04 am
Location: Indonesia

Re: identify nick random

Post by abah »

pektek wrote: Sun Dec 08, 2024 1:41 am viewtopic.php?t=21669
i think no work from me
abah - Kota Makassar - Indonesia
User avatar
CrazyCat
Revered One
Posts: 1324
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Re: identify nick random

Post by CrazyCat »

abah wrote: Fri Dec 06, 2024 2:47 am Hello
Can anyone help me make a tcl to identify nicks because I have 8 nicks so every 4 hours the nicks take turns identifying without changing the bot's nick
I don't understand... Your eggdrop change its nick every 4h ? To keep them registered ?
You can use the proc which change its nick to send the identifying command, or you can have a proc wich bind the notice saying you must identify and send the correct identification string.
It depends on the services used by the network and if each nick has a separate password or if you alway use the same one
p
pektek
Halfop
Posts: 56
Joined: Sat Jul 01, 2023 4:51 pm

Re: identify nick random

Post by pektek »

User avatar
abah
Halfop
Posts: 88
Joined: Sun Dec 01, 2013 3:04 am
Location: Indonesia

Re: identify nick random

Post by abah »

pektek wrote: Thu Jan 02, 2025 2:17 pm look at this abah

https://forum.eggheads.org/viewtopic.p ... 0bb4f1817
i get error
[12:23:20] wrong # args: should be "bind type flags cmd/mask ?procname?"
while executing
"bind cron - 14 3 */2 * * identnick"
(file "nick/nick.tcl" line 23)
invoked from within
"source "$eggdrop(root)/nick.tcl""
(file "nick/settings.tcl" line 3)
invoked from within
"source nick/settings.tcl"
(file "faznet.conf" line 224)
[12:23:20] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
abah - Kota Makassar - Indonesia
User avatar
CrazyCat
Revered One
Posts: 1324
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Re: identify nick random

Post by CrazyCat »

Because the good bind syntax is:
bind cron - "14 3 */2 * *" identnick
User avatar
abah
Halfop
Posts: 88
Joined: Sun Dec 01, 2013 3:04 am
Location: Indonesia

Re: identify nick random

Post by abah »

CrazyCat wrote: Mon Jan 27, 2025 6:59 pm Because the good bind syntax is:
bind cron - "14 3 */2 * *" identnick
can u help me fixed him
abah - Kota Makassar - Indonesia
User avatar
CrazyCat
Revered One
Posts: 1324
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Re: identify nick random

Post by CrazyCat »

I gave you the good syntax, this is the one you quoted.
Post Reply