mIRC Home    About    Download    Register    News    Help

Print Thread
#161468 08/10/06 03:32 AM
G
giannis123
giannis123
G
I am trying to find a script which if someone tryes to pm me when i am away will get an auto-answer that i am away. I kwon that this should be pretty easy but i am new user and i need help.

#161469 08/10/06 03:56 AM
Joined: Apr 2005
Posts: 1,008
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
on *:TEXT:*:?: {
if ($away) { msg $nick I am away. }
}

this should work


#161470 08/10/06 05:17 AM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Razor there was a bug found in MIRC that the auto-away system is not working it stats as $Null after a few moments of being away so in theory it un-away's itself, I think its in the mIRC help section of this forums or bugs or dev im not 100% sure but if ($away) will not work after a few moments which is a good idea

Theres a long posted fix for it kind of workaround but simple I would have a dialog created that when i put my away message it will make a variable like %away.sys = on

and then on PM event i checked that if %away.sys == on proceed with message. then when im back from away again in this dialog set an event to put %away.sys = off

#161471 08/10/06 02:34 PM
Joined: Apr 2005
Posts: 1,008
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
works for me and i use it on 2 different clients with 2 different scripts.

as long as i am server side away it always returns $true for $away and never unsets by itself unless i call /away or d/c myself.

btw i am set away sometimes for 1 whole day, so i never saw any problems since releasing 6.2 :P

am i lucky ?

#161472 08/10/06 08:52 PM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
perhaps, because if you look in the bugs forums you would see what I mean about the away thing.

Personally I never use the true away system even though it exists I have a more customized version of it due to my PM authorizer

#161473 08/10/06 09:37 PM
Joined: Apr 2005
Posts: 1,008
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
all i saw complains on raw events and i saw Khaled not stateing it is bug but rather change on users request in past.

as for me, i use server side away, but customised via dialogs
and some code for my script.

and really i havent seen any bugs regarding away in that sence.

#161474 09/10/06 03:27 AM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
I might of saw something quite different then and I would appoligize for it but im sure I seen it even DaveC was apart of the convo if not mistaken.

#161475 09/10/06 08:44 PM
A
akeL
akeL
A
try this..

on *:TEXT:*:?: {
if ($away == $true) { msg $nick I am away. }
halt
}


Link Copied to Clipboard