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 tracker script

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
User avatar
m4s
Halfop
Posts: 97
Joined: Mon Jan 30, 2017 3:24 pm

Nick tracker script

Post by m4s »

Hello,

When nick1 joins the channel the nickname and host must be stored in a text file.
If nick1 change his nick to nick2 this nick2 also stored next to nick1 because the host hasn't changed. If he left irc and changes his nick to nick3 and joins nick3 also stored next to his host.

I would like to write out automatically to the channel what nicks belong to the host in the last 48hrs when a user joins. This 48hrs should be a variable in the script.

Example:
nick1 (user@this.is.his.host) has joined this channel.
<bot> nick1 (this.is.his.host) also known as: nick2, nick3, nick4 in the last 48 hrs
.

May I ask someone to write this scrip to me?

Thanks in advance!
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
User avatar
m4s
Halfop
Posts: 97
Joined: Mon Jan 30, 2017 3:24 pm

Post by m4s »

Thanks SpiKe^^!

Script works but it has strange output.

Example:
nick1 joins ->new names nick2, and nick3. Parts and joins as nick3.
The output: nick3 nick2, nick1, nick3

I would like this output after joining:
nick1 (host) also known as: nick2, nick3, nick4.

Can you help pls?
s
simo
Revered One
Posts: 1108
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

That kind of output is typically found with !Seen
For example gseen or bseen
User avatar
m4s
Halfop
Posts: 97
Joined: Mon Jan 30, 2017 3:24 pm

Post by m4s »

simo wrote:That kind of output is typically found with !Seen
For example gseen or bseen
Hm indeed. I did not think about it.
But the answer doesn't come automatically after joining.
That is the difference.
Post Reply