mIRC Home    About    Download    Register    News    Help

Print Thread
#117141 13/04/05 02:21 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
; ********** ®2005 MoonRedSoftware ******

alias ip_scan {
.echo -a escaneando IP de $1 $address($1,1)
:begin
.echo -a $ialchan($wildsite,$chan,%tmp).nick
inc %tmp
if %tmp > 5 { set %tmp 1 | return }
goto begin

}

i made this , i dont know what is wrong thnx


mess with the best
#117142 13/04/05 02:38 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
; ********** ®2005 MoonRedSoftware ******

alias ip_scan {
set %tmp 1
.echo -a escaneando IP de $1 $address($1,2)
:begin
.echo -a $ialchan($wildsite,$chan,%tmp).nick
inc %tmp
if %tmp > 5 { set %tmp 1 | return }
goto begin

}

First, if you're not setting %tmp to begin with and it's $null, you'll get an error from the first time through before returning to "begin." Second, $wildsite uses the $address($nick,2) format.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard