mIRC Home    About    Download    Register    News    Help

Print Thread
#13742 02/03/03 04:12 AM
Joined: Mar 2003
Posts: 29
B
b3th3rS Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Mar 2003
Posts: 29
Heya -

I'm starting a new script, well my 3rd.. anyways.. I just brought up a idea what to do cuz sometimes I idle from the network.. so what im thinking is that... to make a small code or anything.. Lets just say.. i'm on the channel and I havent spoke for 45 mins or so.. i want my nick to change to mynick[Away].. I do not want a big away system or anything cuz ive tried some and i dislike them cuz their too fancy... greatly appericate if anyone could help.. if not. Thats ok grin

#13743 02/03/03 05:00 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
try somethign like this

Code:
on *:INPUT: { .timerautoaway -i 1 2700 .nick $me $+ AwAy | /away idle for 45 mins }


that should be a simple lil thing ... altho im not possitive it does work the way ur asking ... hopefully tho it does work


D3m0nnet.com
#13744 02/03/03 08:30 AM
Joined: Mar 2003
Posts: 29
B
b3th3rS Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Mar 2003
Posts: 29
on *:INPUT: { .timerautoaway -i 1 2700 .nick Beth[Away] | /msg nickserv identify *** | /away idle for 45 mins | /amsg Auto-Away after 45 mintues }

Ok so I put that in my remote... I waited 45 mins... Didnt work... What did i do wrong? Im thinking something is missing.. but I can't figure it out...

#13745 02/03/03 09:00 AM
Joined: Feb 2003
Posts: 27
L
Ameglian cow
Offline
Ameglian cow
L
Joined: Feb 2003
Posts: 27
could use
Code:
On *:Connect: { 
.timer(autoaway) 0 10 awaychk 
}
alias awaychk { 
If ($idle > 2700) { nick $me $+ [away] | amsg Auto-Away after 45 mintues} | .timer(autoaway) off
}

#13746 03/03/03 10:21 PM
Joined: Mar 2003
Posts: 29
B
b3th3rS Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Mar 2003
Posts: 29
Thx, It works now.. Thats what I need...


Link Copied to Clipboard