This is a /AWAY to replace the existing /AWAY.
%away.nickaway = [Away]
; Change that to |Away if you'd like.
/away {
if (!$1) {
away
}
else {
away $1-
ame is away ( $+ $1- $+ ) [ $+ $time(HH:nnt) $+ ]
nick $me $+ %away.nickaway
}
}
As for %away.nickaway, yes, that\'s one way of setting a global variable. You have to do it -inside- a script though, or it won\'t get set. That, or add it manually to the variables section. || If you\'re having the away system change your nick when you go away, though, why not also have it change it back automatically when you come back?
Doesn\'t work properly. 1. you can\'t specify variables outside of a script. Especially not in aliases, which is where I presume this script will go. So the nick-changing doesn\'t work. 2. If you want to have [ ] brackets around text you need to double them ([[ ]]), because in mIRCscript square brackets are used to control evaluation. So this script does not work as intended. As you\'d have seen if you\'d TESTED your script before submitting it. It\'s not like it doesn\'t say to do that on the \"Submit your snippet\" page... sheesh.