mIRC Home    About    Download    Register    News    Help

Print Thread
help with sort of nick tracker or AK script #268806 02/05/21 04:49 PM
Joined: May 2013
Posts: 134
R
raycomp Offline OP
Vogon poet
OP Offline
Vogon poet
R
Joined: May 2013
Posts: 134
.I have a hashtable Nickdata.hsh containing as an example: Nick=Q Nick!uid244513@AzgedaIRC-986B5A42.irccloud.com 1619463427 Quit:

This records when a user enter/quit the chatroom

I need a script to extract and display all instances when the IRCcloud account number appears in the sentence to establish nick changes or an AKA nick tracker based on the account number in the case above: !uid24451

I have no clue even where to begin!

Re: help with sort of nick tracker or AK script [Re: raycomp] #268809 05/05/21 03:45 AM
Joined: Sep 2003
Posts: 15
R
Revan Offline
Pikka bird
Offline
Pikka bird
R
Joined: Sep 2003
Posts: 15
Write some aliases and identifiers to create/read/update/delete and then add save to external file when you edit the hash table with those aliases, typically you would want to start the system using a mIRC event like:

on *:start:initHashSystem

In that alias you would create then load your saved data from the .hsh file you saved before. Use more events to backup the system automatically too like exit disconnect depending on the data you are keeping. Then for your needs use the $hfind() to search and then $hget() identifier to retrieve , /help hash tables

I made something like this nearly 20 years ago, and it still works now. Updating it now.