mIRC Home    About    Download    Register    News    Help

Print Thread
#43321 21/08/03 08:15 AM
Joined: Aug 2003
Posts: 136
M
Vogon poet
OP Offline
Vogon poet
M
Joined: Aug 2003
Posts: 136
Okay its late and Im feeling blonde im writing an away script
§tatic Away §ystems
.Setup
..Set Away Nick:/set %awaynick $$?="The away nick you want:" | /echo -a Your away nick is now %awaynick
..Set Away Nick PSW:/set %awaypsw $$?="Password for away nick:" | /echo -a Your away nick's psw is %awaypsw
..Set Normal Nick:/set %normnick $$?="Your normal nickname:" | /echo -a Your normal nick is now %normnick
..Set Normal Nick PSW:/set %normnickpsw $$?="Your normal nickname psw:" | /echo -a Your normal nick psw is now %normnickpsw
.Set Away: {
set %awayreason $$?="The reason your gone:"
nick %awaynick
timerident 1 2 /msg nickserv identify %awaypsw
ame %awayreason
away %awayreason
}
.Set Back: {
away
ame is now back was : %awayreason
nick %normnick
timerident2 1 2 /msg nickserv identify %normnickpsw
}
Its crappy I know but I was wondering how could I do a timer so when they come back it would say the duration they were gone?

#43322 21/08/03 09:03 AM
Joined: Apr 2003
Posts: 300
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
.Set Back: {
ame is now back was : %awayreason for: $duration($awaytime)
away
nick %normnick
timerident2 1 2 /msg nickserv identify %normnickpsw
}
replace the set back with that one ^^

Last edited by andymps; 21/08/03 09:03 AM.
#43323 21/08/03 09:07 AM
Joined: Aug 2003
Posts: 136
M
Vogon poet
OP Offline
Vogon poet
M
Joined: Aug 2003
Posts: 136
thank you laugh


Link Copied to Clipboard