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.

Nick keeper

Old posts that have not been replied to for several years.
Locked
B
Bever
Voice
Posts: 31
Joined: Mon Dec 10, 2001 8:00 pm

Post by Bever »

I would like to have a small TCL that does

.dump nick :BotNick

every 5 seconds. Is this hard to write?
K
KID

Post by KID »

I think this work. try it

###
set tempo "5"
set newnick "here-the-nick-u-want"

if {![string match *vnick* [utimers]]} {
utimer $tempo vnick
}

proc vnick {} {
global botnick tempo newnick
putserv "nick $newnick"
if {![string match *vnick* [utimers]]} {
utimer $tempo vnick
}
}

#####
:smile:

Locked