alias ircnx.whois {
%:echo 4------------------------------------
%:echo 4| %::nick 12is %::address * %::realname
if (%thm.ownip) { %:echo 4| %::nick 12actual host is $gettok($ifmatch,1,32) ( $+ $gettok($ifmatch,2,32) $+ ) }
if ($q.net) && (%thm.auth) { %:echo 4| %::nick 12is authed as $ifmatch }
if (%::operline) { %:echo 4| %::nick 12is an 4IRC Operator }
if (%::chan) %:echo 4| %::nick 12is in %::chan
if (%::wserver) %:echo 4| %::nick 12is using %::wserver $+ , %::serverinfo
if (%::away) %:echo 4| %::nick 12is away: %::away
if (%::idletime) { %:echo 4| %::nick 12is idle for $duration(%::idletime) $+ , signed on %::signontime }
%:echo 4------------------------------------
unset %thm.auth %thm.ownip
}
I have this, it returns this: (Made ** from the IP)
»»» Whynotnow is connecting from *@ip********.direct-adsl.nl **.**.***.***
»»» Whynotnow is a Bot on SwiftIRC
»»» Whynotnow is using a Secure Connection
------------------------------------
| whynotnow is ~Whynotnow@Swift-F3A726EC.direct-adsl.nl * Bart
| whynotnow is in **Chanlist**
| whynotnow is using talon.nl.eu.SwiftIRC.net, Striking from the shadows
| whynotnow is idle for 1min 27secs, signed on Wed Apr 25 19:48:00 2007
------------------------------------
But I want it to return the Secure Connection, connecting from and botmode in the box too. What are the codes for between the ( ) in the if line for it? Does anyone know?