mIRC Homepage
Posted By: Smrcek Raw code for WhoisAway - 28/01/05 11:18 AM
hello,

i have already succesfully halted most of the whois output. but what code to halt when i get message form server "(nick) is away (description)"

Code:
 
raw 311:*:/halt
raw 318:*:/halt
raw 317:*:/halt
raw 319:*:/halt
raw 312:*:{ /some code here that stores certain info about the server }
 


it isnt very necesary, but still when whoising 50 people alltogether it would be nice if the script would do it all without echoing "user is away (...)" every second line to status.
Posted By: Iori Re: Raw code for WhoisAway - 28/01/05 11:53 AM
Why on earth are you whoising 50 ppl at once?
It's raw 301 you're chasing.
Posted By: Smrcek Re: Raw code for WhoisAway - 28/01/05 01:09 PM
thanks! it works

it's an evil project wink
www.uptimer.org - for every uptime competition, 3 days in the competition when only like 50 stable clients are still connected, i will whois them all and then when each client drops, the system will record when it dropped and which server the client was using.
Posted By: Iori Re: Raw code for WhoisAway - 28/01/05 11:00 PM
If all you want is the server try using /who <nick> - it's only a 1 line reply.
Code:
raw 352:*:{
  ;do stuff with the server data in $5
  halt
}
Posted By: Smrcek Re: Raw code for WhoisAway - 29/01/05 12:29 AM
thanks for the code optimization smile

another problem, is there a way to hide output in status when /timer1somenick ... in a script?
i tried .timer1 but it still echoes everything
Posted By: Iori Re: Raw code for WhoisAway - 29/01/05 12:36 AM
What output do you mean? The dot prefix (.timerblah ..) should hide
  • -
    * Timer blah activated
    -
    * Timer blah halted
    -
© mIRC Discussion Forums