mIRC Home    About    Download    Register    News    Help

Print Thread
#116774 08/04/05 09:58 PM
Joined: Apr 2005
Posts: 12
A
anarres Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Apr 2005
Posts: 12
Hy all,

I made the raw number 317, so when I make a /whois the server respone tell me the nick uptime in the server.
But now I want to, for example, tell in a chan when y type "!login nick" /msg at that channel the uptime of that nick.
How to do it in the remotes?

Thanx

#116775 09/04/05 01:03 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
on *:TEXT:!login *:#:{ /whois $2 }

#116776 09/04/05 07:26 PM
Joined: Apr 2005
Posts: 12
A
anarres Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Apr 2005
Posts: 12
Oh

This is not what I'm looking for, maybe I didn't explain very well, or because my english is not very good.
I just want to tell in a channel a server response on /whois: when I tipe /whois nick, in status It shows a raw 317 response, but I want this response in a channel, that everyone can see it, or save in a .txt file.

Thanx

#116777 09/04/05 07:51 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
in remotes, try:
RAW 317:*: msg #channelname $2-
replace red text with the actual channel name

#116778 12/04/05 01:43 AM
Joined: Apr 2005
Posts: 5
S
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
S
Joined: Apr 2005
Posts: 5
alias getup { set %getuptime 1 | whois $1 }
on 1:text:!getup*:#chan: { getup $2 }
RAW 317:*: { if ( %getuptime == 1 ) { msg #channelname $2- } }
^from Mikechats code but lil dif

raw 307:*: { if ( %getuptime == 1 ) { halt } }
<-- add other whois raws here so they dont print to screen if you want them halted --->

raw 318:*: { set %getuptime 0 }
^ end of /whois list raw unset var so you can whois normal


Link Copied to Clipboard