No, there isn't this. I need something that calc last of the nx= var in $readini(servers.ini,recent) file.
For example if the string in $readini(servers.ini,recent) are 9 the result is:
$readini(servers.ini,recent,n9) Understood?
$ini(servers.ini,4,0) <<< by using the $ini command you can caculate the number of lines in a ini file from a topic example...
[Hi]
n0=3010
[bye]
n0=sfkjjkf
[cya]
n0=39209424
[recent]
n0=irc.server.com
n1=irc.bleh.com
n2=irc.mircrules.com
see theres 4 topics [hi,bye,cya,recent]
so we need to tell $ini to give us the result of the lines = in topic 4 .. which is mostly topic 4 in server.ini if you didnt edit it..
$ini(servers.ini,4,0) << will read topic 4 and by putting it item 0 it will read all the lines back giving you the value of the calculated topic..
now im sure you want to be able to choose the last line of that ini which i forgot the path to it... for now since no one replies i hope this helps a tad bit..
*********************EDIT******************888
heres a dead try..
%rini = n $+ $ini(servers.ini,4,0)
$readini(servers.ini,recent,%rini)
this one will work the way you want it
Cheers
just a tad explanation on that
we needed to set a variable to calculate the lines on topic "recent" so again by using $ini(servers.ini,4,0) <<< server.ini chooses 4th topic which by setting the item 0 it will read the whole lines so if it read 9 lines the result is 9 so the varible is %rini = n $+ $ini(servers.ini,4,0) so this makes the varible return n9
then... the sript... $readini(servers.ini,recent,%rini) <<< which is really $readini(servers.ini,recent,n9)