mIRC Home    About    Download    Register    News    Help

Print Thread
#205946 03/11/08 10:25 PM
Joined: Oct 2007
Posts: 214
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Oct 2007
Posts: 214
Hello,

I can't seem to get this alias to read the section [info] in the ini file.

Code:

alias test1 {
  var %f = $+($scriptdir,ipinfo.ini)
  var %x = $ini(%f,0), %i = 1
  while (%i <= %x) { 
    echo -a $readini(%f,info,%i)

    inc %i 
  }
}



Thanks for your help in advance,

Cheers,

Jay

Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
$ini(%f,0) you are missing the section.

$ini(%f,info,0)


Link Copied to Clipboard