|
Joined: Sep 2006
Posts: 71
Babel fish
|
OP
Babel fish
Joined: Sep 2006
Posts: 71 |
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...
|
|
|
|
Joined: Mar 2005
Posts: 420
Fjord artisan
|
Fjord artisan
Joined: Mar 2005
Posts: 420 |
If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
|
|
|
|
Joined: Aug 2004
Posts: 7,252
Hoopy frood
|
Hoopy frood
Joined: Aug 2004
Posts: 7,252 |
Sample only: 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
}
Last edited by RusselB; 12/10/06 06:19 AM.
|
|
|
|
Joined: Sep 2006
Posts: 71
Babel fish
|
OP
Babel fish
Joined: Sep 2006
Posts: 71 |
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
|
|
|
|
Joined: Aug 2004
Posts: 7,252
Hoopy frood
|
Hoopy frood
Joined: Aug 2004
Posts: 7,252 |
|
|
|
|
Joined: Sep 2006
Posts: 71
Babel fish
|
OP
Babel fish
Joined: Sep 2006
Posts: 71 |
hmmm any way to manage that into this.... 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
|
|
|
|
Joined: Sep 2006
Posts: 71
Babel fish
|
OP
Babel fish
Joined: Sep 2006
Posts: 71 |
hmmm can anyone help me out on this? I would greatly appreciate it!
Chris
|
|
|
|
Joined: Mar 2005
Posts: 420
Fjord artisan
|
Fjord artisan
Joined: Mar 2005
Posts: 420 |
Using part of Russelb's code, do the same to others .Sleep : { away Sleep | amsg $awaymsg }
If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
|
|
|
|
Joined: Sep 2006
Posts: 71
Babel fish
|
OP
Babel fish
Joined: Sep 2006
Posts: 71 |
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
|
|
|
|
Joined: Mar 2005
Posts: 420
Fjord artisan
|
Fjord artisan
Joined: Mar 2005
Posts: 420 |
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: On *:TEXT:$($+(*,$me,*)):#: if ( $away ) msg $chan I'm currently away. Reason: $awaymsg $+ . Try that.
If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
|
|
|
|
Joined: Sep 2006
Posts: 71
Babel fish
|
OP
Babel fish
Joined: Sep 2006
Posts: 71 |
ok I will give it a try...
|
|
|
|
Joined: Sep 2006
Posts: 71
Babel fish
|
OP
Babel fish
Joined: Sep 2006
Posts: 71 |
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
|
|
|
|
Joined: Mar 2005
Posts: 420
Fjord artisan
|
Fjord artisan
Joined: Mar 2005
Posts: 420 |
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...?
If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
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.
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: Sep 2006
Posts: 71
Babel fish
|
OP
Babel fish
Joined: Sep 2006
Posts: 71 |
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!
|
|
|
|
Joined: Aug 2004
Posts: 7,252
Hoopy frood
|
Hoopy frood
Joined: Aug 2004
Posts: 7,252 |
Sure, and it's simple...install Invision
|
|
|
|
Joined: Sep 2006
Posts: 71
Babel fish
|
OP
Babel fish
Joined: Sep 2006
Posts: 71 |
yeah....I don't want the full invision script..just the away manager....
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
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. 
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: Sep 2006
Posts: 71
Babel fish
|
OP
Babel fish
Joined: Sep 2006
Posts: 71 |
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...
|
|
|
|
Joined: Sep 2005
Posts: 2,881
Hoopy frood
|
Hoopy frood
Joined: Sep 2005
Posts: 2,881 |
You might wish to describe the features the invision away script has. Good luck getting someone to write you a full addon though..
|
|
|
|
|