| View previous topic :: View next topic |
| Author |
Message |
m4s Halfop

Joined: 30 Jan 2017 Posts: 97
|
Posted: Tue Mar 16, 2021 2:48 pm Post subject: Nick tracker script |
|
|
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 |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 792 Location: Tennessee, USA
|
|
| Back to top |
|
 |
m4s Halfop

Joined: 30 Jan 2017 Posts: 97
|
Posted: Wed Mar 17, 2021 1:51 pm Post subject: |
|
|
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 |
|
 |
simo Owner
Joined: 22 Mar 2015 Posts: 941
|
Posted: Tue Mar 23, 2021 2:47 pm Post subject: |
|
|
That kind of output is typically found with !Seen
For example gseen or bseen |
|
| Back to top |
|
 |
m4s Halfop

Joined: 30 Jan 2017 Posts: 97
|
Posted: Wed Mar 24, 2021 11:27 am Post subject: |
|
|
| 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 |
|
 |
|