egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Nick tracker script

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
m4s
Halfop


Joined: 30 Jan 2017
Posts: 97

PostPosted: Tue Mar 16, 2021 2:48 pm    Post subject: Nick tracker script Reply with quote

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!
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 792
Location: Tennessee, USA

PostPosted: Tue Mar 16, 2021 4:51 pm    Post subject: Reply with quote

Try this... http://forum.egghelp.org/viewtopic.php?t=19948&highlight=aka
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
m4s
Halfop


Joined: 30 Jan 2017
Posts: 97

PostPosted: Wed Mar 17, 2021 1:51 pm    Post subject: Reply with quote

SpiKe^^ wrote:
Try this... http://forum.egghelp.org/viewtopic.php?t=19948&highlight=aka


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?
Back to top
View user's profile Send private message
simo
Owner


Joined: 22 Mar 2015
Posts: 941

PostPosted: Tue Mar 23, 2021 2:47 pm    Post subject: Reply with quote

That kind of output is typically found with !Seen
For example gseen or bseen
Back to top
View user's profile Send private message
m4s
Halfop


Joined: 30 Jan 2017
Posts: 97

PostPosted: Wed Mar 24, 2021 11:27 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber