mIRC Homepage
Posted By: o0Chris0o away manager script - 12/10/06 04:51 AM
I am trying to do a away manager script... including the pop up....I don't need the dialogs..I want to be able to have set reasons why away...like

Sleep zZzZzZzZzzZz with $rain
smoke break...
etc...

can anyone help with this? thanks...
Posted By: xDaeMoN Re: away manager script - 12/10/06 05:00 AM
Try this Away System.
Posted By: RusselB Re: away manager script - 12/10/06 05:01 AM
Sample only:
Code:
 menu * {
Away
.Sleep : away Sleep
.Smoke : away smoke break
.Dinner : away Dinner Time
.Work : away Gotta work sometime (unfortunately)
.Announce Time : an_time
}
alias -l an_time {
.timer 0 $calc(60 * $$?="Time between announcements in minutes") ame is away $away | ame is away $away
}
 
Posted By: o0Chris0o Re: away manager script - 12/10/06 06:01 AM
thats cool and all..but I want it to announce to all channels I am in....also...like after sooo long re announce it again...also when my name is mentiond
Posted By: RusselB Re: away manager script - 12/10/06 06:19 AM
Refer to edited code
Posted By: o0Chris0o Re: away manager script - 12/10/06 06:25 AM
hmmm any way to manage that into this....

Code:
 Channel Modes:/channel
-
$iif($server != $null,Away Control)
.$iif($away == $true,Set Back):{ away }
.$iif($away == $true,Silent Back):{ away sb }
.$iif($away != $true,Set Away)
..$r.glob(Customs,AWY1.desc):{ away [ [ $r.glob(Customs,AWY1.msg) ] ] }
..$r.glob(Customs,AWY2.desc):{ away [ [ $r.glob(Customs,AWY2.msg) ] ] }
..$r.glob(Customs,AWY3.desc):{ away [ [ $r.glob(Customs,AWY3.msg) ] ] }
..$r.glob(Customs,AWY4.desc):{ away [ [ $r.glob(Customs,AWY4.msg) ] ] }
..$r.glob(Customs,AWY5.desc):{ away [ [ $r.glob(Customs,AWY5.msg) ] ] }
..$r.glob(Customs,AWY6.desc):{ away [ [ $r.glob(Customs,AWY6.msg) ] ] }
..Work:{ away Work }
..Sleep:{ away Sleeping }
..Fresh Air:{ away Getting some Fresh Air }
..Bathroom:{ away Gotta drop the kids off at the pool }
..Smoke Break:{ away Smoke Break }
..Hookers:{ away Entertaining some Hookers }
..Beer:{ away Slammin some Brews }
..Food:{ away Stuffin my face }
..Store:{ away Ran to the Store }
..TV:{ away Watching T.V. }
..-
..Enter Reason:{ away $$?="Enter Away Reason" }
..Silent Away
...$r.glob(Customs,AWY1.desc):{ away -s [ [ $r.glob(Customs,AWY1.msg) ] ] }
...$r.glob(Customs,AWY2.desc):{ away -s [ [ $r.glob(Customs,AWY2.msg) ] ] }
...$r.glob(Customs,AWY3.desc):{ away -s [ [ $r.glob(Customs,AWY3.msg) ] ] }
...$r.glob(Customs,AWY4.desc):{ away -s [ [ $r.glob(Customs,AWY4.msg) ] ] }
...$r.glob(Customs,AWY5.desc):{ away -s [ [ $r.glob(Customs,AWY5.msg) ] ] }
...$r.glob(Customs,AWY6.desc):{ away -s [ [ $r.glob(Customs,AWY6.msg) ] ] }
...Work:{ away -s Work }
...Sleep:{ away -s Sleeping }
...Fresh Air:{ away -s Getting some Fresh Air }
...Bathroom:{ away -s Gotta drop the kids off at the pool }
...Smoke Break:{ away -s Smoke Break }
...Hookers:{ away -s Entertaining some Hookers }
...Beer:{ away -s Slammin some Brews }
...Food:{ away -s Stuffin my face }
...Store:{ away -s Ran to the Store }
...TV:{ away -s Watching T.V. }
...-
...Enter Reason:{ away -s $$?="Enter Away Reason" } 


I like this layout...its from another script BUT I want the same idea but I want to announce it to all chanels when I go away. also a pager, a log and re announce the time I am away and when someone mentions my nick it will give the away reason...

THanks! I appreciate your help
Posted By: o0Chris0o Re: away manager script - 13/10/06 04:57 AM
hmmm can anyone help me out on this? I would greatly appreciate it!

Chris
Posted By: xDaeMoN Re: away manager script - 13/10/06 06:10 AM
Using part of Russelb's code, do the same to others

Code:
 .Sleep : { away Sleep | amsg $awaymsg }
Posted By: o0Chris0o Re: away manager script - 13/10/06 06:14 AM
ok that will work but..I want it to announce it to the chan when I am a way
and when my nick is mentioned
Posted By: xDaeMoN Re: away manager script - 13/10/06 06:22 AM
The link I gave you before already includes most of the features that you want. I think the only think it doesn't have is when your nick was said in the channel when you're away.

If that case, you can add this:

Code:
On *:TEXT:$($+(*,$me,*)):#: if ( $away ) msg $chan I'm currently away. Reason: $awaymsg $+ .


Try that.
Posted By: o0Chris0o Re: away manager script - 13/10/06 06:50 AM
ok I will give it a try...
Posted By: o0Chris0o Re: away manager script - 13/10/06 07:09 AM
hmmm its somewhat what I am looking for..but I'm not..can someone plz help me out???? I am trying to make a custom away script
Posted By: xDaeMoN Re: away manager script - 13/10/06 07:14 AM
Quote:
hmmm its somewhat what I am looking for..but I'm not..can someone plz help me out???? I am trying to make a custom away script


You're not...?
Posted By: Riamus2 Re: away manager script - 13/10/06 09:01 PM
Quote:
hmmm its somewhat what I am looking for..but I'm not..can someone plz help me out???? I am trying to make a custom away script


Please try to be more specific in your requests for help. You say it's somewhat what you are looking for, but not quite. If you would explain what it is missing or not doing the way you want it to, it would really help.
Posted By: o0Chris0o Re: away manager script - 14/10/06 05:21 AM
alright..I like how invision script has the away messages listed is there anyway I can get the same thing? with all the options..thats what I am looking for...

Thanks!
Posted By: RusselB Re: away manager script - 14/10/06 12:50 PM
Sure, and it's simple...install Invision
Posted By: o0Chris0o Re: away manager script - 14/10/06 12:57 PM
yeah....I don't want the full invision script..just the away manager....
Posted By: Riamus2 Re: away manager script - 14/10/06 07:02 PM
And option A and option B and option C.... you have been asking for all the features of Invision so you can make your own script using them. smile
Posted By: o0Chris0o Re: away manager script - 24/10/06 08:19 AM
no not all features...some...I don't care for the rest just certain things that I have posted. Just trying to get some help here...
Posted By: hixxy Re: away manager script - 24/10/06 08:26 AM
You might wish to describe the features the invision away script has. Good luck getting someone to write you a full addon though..
© mIRC Discussion Forums