mIRC Home    About    Download    Register    News    Help

Print Thread
#72202 20/02/04 09:11 PM
Joined: Feb 2003
Posts: 13
C
Pikka bird
OP Offline
Pikka bird
C
Joined: Feb 2003
Posts: 13
i currently got this coding

on 1:TEXT:!nicks:#channelname: {
set %temp2 $ini(nicks2.ini,1) - $ini(nicks2.ini,2) - $ini(nicks2.ini,3)
}

problem i got is i got about 25 to go thru is there an easier way i tried set %temp2 $ini(nicks2.ini,1-25) but that didnt work

any ideas would be grateful.

#72203 20/02/04 09:36 PM
Joined: Feb 2004
Posts: 124
T
Vogon poet
Offline
Vogon poet
T
Joined: Feb 2004
Posts: 124
Code:
on 1:TEXT:!nicks:#channelname: {
  var %i = 1 | unset %test2
  while ($ini(nicks2.ini,%i) != $null) {
    set %test2 $iif(%test2 != $null,%test2 -) $ini(nicks2.ini,%i)
    inc %i
  }
}

on 1:TEXT:!nicks:#channelname: {
var %i = 1 | unset %test2
while ($ini(nicks2.ini,%i) != $null) {
set %test2 $iif(%test2 != $null,%test2 -) $ini(nicks2.ini,%i)
inc %i
}
}

Last edited by TonyTheTiger; 20/02/04 09:44 PM.

Link Copied to Clipboard