I have a script thats writes the ip/hostmask (in 192.168.1.1 or hostmask-in.addr.com format) to a text file but want to tune this script up with hashtables insteed of writing and reading the addresses to/from a .txt file. Can somebody help me with this? Thanks in advance!
Code:
#retrieving the last added line:
var %f = *!*@ $+ $read(dns.txt,$lines(dns.txt))

Code:
#write only the hostmask or ip address:
on *:DNS: { .write dns.txt $raddress }