Checking wut server - 07/02/05 04:23 PM
if i type /servertype i want it to tell me if the server is ircd or ircx...how is it possible? thanx
raw 005:*:{ if ($2 === IRCX) { set %servertype $+ $cid ircx } else { set %servertype $+ $cid ircd } } on *:disconnect:{ unset %servertype $+ $cid } alias servertype { return $eval($+(%,servertype,$cid),2) }