mIRC Homepage
Posted By: b3th3rS This is annoying me - 30/04/03 03:59 AM
Okay I posted this again... but I lost my script agian and Im doing auto away again... now I am having problem with it again... What i would like for it to set it to away after 45 mins of idle and for the message to repeat once.. not every 45 mins.. here is the code i created..


Code here:
Code:
On *:Connect: { 
  .timer(autoaway) -io 0 10 scon -at1 awaychk 
}
alias awaychk { 
  If ($idle > 2700) && ( $away == $null ) {
    nick %away.nick
    ns identify %away.system.nick.pass
    ame is away, auto-away after 45 minutes
    .timer(autoaway) off
  }
}
  
Posted By: Nimue Re: This is annoying me - 30/04/03 04:03 AM
Clickme
Posted By: _D3m0n_ Re: This is annoying me - 30/04/03 04:24 AM
ame is away, auto-away after 45 minutes

remove that line
Posted By: theRat Re: This is annoying me - 30/04/03 01:06 PM
on *:input:*: {
if ( $away ) away
;or enable the "cancel away on keypress" in options

.timeraway 1 2700 scon -at1 away Autoaway, Gone since $asctime
}

neat and clean

NO need to announce that you've gone away, that just makes you look STUPID(yes, S-T-U-P-I-D), how many people actually want to know that you've gone away 45mins ago?
and I'm not going to start about awaynicks...
© mIRC Discussion Forums