mIRC Home    About    Download    Register    News    Help

Print Thread
#16372 22/03/03 01:47 AM
Joined: Dec 2002
Posts: 332
C
Cheech Offline OP
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
if i use the following format
$ial(*!*@19FF70D7.5CA92971.40FA16E0.IP,0) it returns 2 if there are 2 matches but how can i get it to return what the matches are ?

like
nick!blah@19FF70D7.5CA92971.40FA16E0.IP
nick2!blah@19FF70D7.5CA92971.40FA16E0.IP
thx

#16373 22/03/03 10:51 AM
Joined: Dec 2002
Posts: 94
K
Babel fish
Offline
Babel fish
K
Joined: Dec 2002
Posts: 94
by using
Code:
$ial(*!*@19FF70D7.5CA92971.40FA16E0.IP,<n>)

like
Code:
var %i = 1
while (%i <= $ial(*!*@19FF70D7.5CA92971.40FA16E0.IP,0)) {
echo $ial(*!*@19FF70D7.5CA92971.40FA16E0.IP,%i)
inc %i
}


Lets get dirty
#16374 23/03/03 02:43 AM
Joined: Dec 2002
Posts: 332
C
Cheech Offline OP
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
ok i think i asked the wrong question what i am trying to do is scan the $ial for this format *!*@ipaddress if there is a match i want to then return that info but i want to return it in the format $address($nick,5) like nick!user@ipaddress sorry for not getting it right the forst time and thx for any help smile


Link Copied to Clipboard