the actual purpose of this script is, in my case, this situation:
im creating a linked server in mIRC, who is able to check spamfilter hits and match them to a username/host
the "database" im using is looking like this:
[1]
nick=horstefan
address=stefanpc.lan
spamhits=5
chans=#home,#test,#opers
[2]
etc...
the purpose of the script is to search on: "nick=horstefan" and get the userid (1)
this is (as far as i know) not possible with mirc basic commands...
edit@ napa182:
this script is not meant for searching topics by number, its meant for searching topics by data (like address=stefanpc.lan, or nick=horstefan)
edit@Jethro_:
what exactly is your idea of mimicing... readini doesnt provide this option, so you got any suggestions on it?