mIRC Home    About    Download    Register    News    Help

Print Thread
#190397 20/11/07 07:51 AM
Joined: Oct 2007
Posts: 92
N
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
Code:
on *:join:#: { 
  if ( $($+(%,ip,.,$address($nick,2))) == $true ) { echo -a yup }
}


Used this on setting but it doesn't work
Quote:
set $+(%,ip,.,$address($nick,2)) $true


nomer2007 #190404 20/11/07 12:55 PM
Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Missed the ',2' for the eval:

Code:
ON *:JOIN: {
  if ($($+(%, ip., $wildsite), 2) == $true) {
    echo -a yup
  }
}

NOTES:

There was no need to separate the 'ip' and the '.'. Neitehr values are reserved in any way.

I don't think the $address() details (read: IAL) are available until the finish of the event, so use either $mask($fulladdress, 2), but as you're using a '2', $wildsite is even easier/quicker/better.


Link Copied to Clipboard