mIRC Home    About    Download    Register    News    Help

Print Thread
/ison command #39085
31/07/03 09:12 PM
31/07/03 09:12 PM
Joined: Jul 2003
Posts: 132
your home
O
oriongods Offline OP
Vogon poet
oriongods  Offline OP
Vogon poet
O

Joined: Jul 2003
Posts: 132
your home
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 !

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

Re: /ison command #39087
31/07/03 11:49 PM
31/07/03 11:49 PM
Joined: Jul 2003
Posts: 132
your home
O
oriongods Offline OP
Vogon poet
oriongods  Offline OP
Vogon poet
O

Joined: Jul 2003
Posts: 132
your home
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?

Re: /ison command #39088
01/08/03 03:47 AM
01/08/03 03:47 AM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
codemastr  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.

Re: /ison command #39089
02/08/03 11:35 AM
02/08/03 11:35 AM
Joined: Dec 2002
Posts: 124
B
bloupx Offline
Vogon poet
bloupx  Offline
Vogon poet
B

Joined: Dec 2002
Posts: 124
raw *:*:haltdef | echo -s $event : $1-

Re: /ison command #39090
05/08/03 01:24 AM
05/08/03 01:24 AM
Joined: Jul 2003
Posts: 132
your home
O
oriongods Offline OP
Vogon poet
oriongods  Offline OP
Vogon poet
O

Joined: Jul 2003
Posts: 132
your home
so ok, /ison cmd is raw 303, but how to edit it in style for ONLINE and NOT ONLINE case ????