mIRC Homepage
Posted By: oriongods /ison command - 31/07/03 09:12 PM
hi all, can please someone help me with /ison command
when used instead of sayin (if user is online) username, and instead of sayin (when user is not online) empty line,,,
i want to make a script where IF user is online that says username is online bla bla... and IF user not online that says username is not online bla bla,,,

is it possible to make a script for that action please !
Posted By: codemastr Re: /ison command - 31/07/03 09:31 PM
Well the easiest way to do it (and the best way) would be to use mIRC's built in notify list.

/notify the_users_nick

ON ^*:NOTIFY:{
if ($nick == the_users_nick) {
.echo -a Hey, he's online!
haltdef
}
}

ON ^*:UNOTIFY:{
if ($nick == the_users_nick) {
.echo -a He's not online frown
haltdef
}
}
Posted By: oriongods Re: /ison command - 31/07/03 11:49 PM
yeah but then i always must type in what nickname to be on notify list, but i want to see that for any nickname just like on /ison , isn't there any RAW for /ison command?
Posted By: codemastr Re: /ison command - 01/08/03 03:47 AM
Yes there is.
/debug @debug
/ison some_nick_here

That will tell you the numeric it uses.
Posted By: bloupx Re: /ison command - 02/08/03 11:35 AM
raw *:*:haltdef | echo -s $event : $1-
Posted By: oriongods Re: /ison command - 05/08/03 01:24 AM
so ok, /ison cmd is raw 303, but how to edit it in style for ONLINE and NOT ONLINE case ????
© mIRC Discussion Forums