mIRC Home    About    Download    Register    News    Help

Print Thread
#161875 12/10/06 04:51 AM
Joined: Sep 2006
Posts: 71
O
Babel fish
OP Offline
Babel fish
O
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...

#161876 12/10/06 05:00 AM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Try this Away System.


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#161877 12/10/06 05:01 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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
}
 

Last edited by RusselB; 12/10/06 06:19 AM.
#161878 12/10/06 06:01 AM
Joined: Sep 2006
Posts: 71
O
Babel fish
OP Offline
Babel fish
O
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

#161879 12/10/06 06:19 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Refer to edited code

#161880 12/10/06 06:25 AM
Joined: Sep 2006
Posts: 71
O
Babel fish
OP Offline
Babel fish
O
Joined: Sep 2006
Posts: 71
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

#161881 13/10/06 04:57 AM
Joined: Sep 2006
Posts: 71
O
Babel fish
OP Offline
Babel fish
O
Joined: Sep 2006
Posts: 71
hmmm can anyone help me out on this? I would greatly appreciate it!

Chris

#161882 13/10/06 06:10 AM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Using part of Russelb's code, do the same to others

Code:
 .Sleep : { away Sleep | amsg $awaymsg }


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#161883 13/10/06 06:14 AM
Joined: Sep 2006
Posts: 71
O
Babel fish
OP Offline
Babel fish
O
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

#161884 13/10/06 06:22 AM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
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:

Code:
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!
#161885 13/10/06 06:50 AM
Joined: Sep 2006
Posts: 71
O
Babel fish
OP Offline
Babel fish
O
Joined: Sep 2006
Posts: 71
ok I will give it a try...

#161886 13/10/06 07:09 AM
Joined: Sep 2006
Posts: 71
O
Babel fish
OP Offline
Babel fish
O
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

#161887 13/10/06 07:14 AM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
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...?


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#161888 13/10/06 09:01 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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.


Invision Support
#Invision on irc.irchighway.net
#161889 14/10/06 05:21 AM
Joined: Sep 2006
Posts: 71
O
Babel fish
OP Offline
Babel fish
O
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!

#161890 14/10/06 12:50 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Sure, and it's simple...install Invision

#161891 14/10/06 12:57 PM
Joined: Sep 2006
Posts: 71
O
Babel fish
OP Offline
Babel fish
O
Joined: Sep 2006
Posts: 71
yeah....I don't want the full invision script..just the away manager....

#161892 14/10/06 07:02 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
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. smile


Invision Support
#Invision on irc.irchighway.net
#161893 24/10/06 08:19 AM
Joined: Sep 2006
Posts: 71
O
Babel fish
OP Offline
Babel fish
O
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...

#161894 24/10/06 08:26 AM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
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..


Link Copied to Clipboard