mIRC Home    About    Download    Register    News    Help

Print Thread
#21588 30/04/03 03:59 AM
Joined: Mar 2003
Posts: 29
B
b3th3rS Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Mar 2003
Posts: 29
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
  }
}
  

#21589 30/04/03 04:03 AM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699

#21590 30/04/03 04:24 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
ame is away, auto-away after 45 minutes

remove that line


D3m0nnet.com
#21591 30/04/03 01:06 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
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...


Code:
//if ( khaled isgod ) echo yes | else echo no

Link Copied to Clipboard