mIRC Home    About    Download    Register    News    Help

Print Thread
#39085 31/07/03 09:12 PM
Joined: Jul 2003
Posts: 132
O
Vogon poet
OP Offline
Vogon poet
O
Joined: Jul 2003
Posts: 132
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 !

#39086 31/07/03 09:31 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
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
}
}

#39087 31/07/03 11:49 PM
Joined: Jul 2003
Posts: 132
O
Vogon poet
OP Offline
Vogon poet
O
Joined: Jul 2003
Posts: 132
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?

#39088 01/08/03 03:47 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Yes there is.
/debug @debug
/ison some_nick_here

That will tell you the numeric it uses.

#39089 02/08/03 11:35 AM
Joined: Dec 2002
Posts: 124
B
Vogon poet
Offline
Vogon poet
B
Joined: Dec 2002
Posts: 124
raw *:*:haltdef | echo -s $event : $1-

#39090 05/08/03 01:24 AM
Joined: Jul 2003
Posts: 132
O
Vogon poet
OP Offline
Vogon poet
O
Joined: Jul 2003
Posts: 132
so ok, /ison cmd is raw 303, but how to edit it in style for ONLINE and NOT ONLINE case ????


Link Copied to Clipboard