|
|
#2648 - 07/18/08 12:42 PM
Simple, but useful Away script :)
|
n00b
Registered: 07/18/08
Posts: 2
Loc: USA
|
My First post ^_^ Well this is a script that whenever someone says your name, it will reply with "Hello My Status is : xxx" You can set your status by typing /st <status> by replacing status with what you are doing. Feel Free to tell me the bugs and anything that needs to be changed ;; Simple Status Script by JoeK - 1.0
; Note on line 9-10 The first line is just so i dont reply to my bots, feel free to change them :)
;And the next line makes the script only notice it to the user, making it quiet for everyone else :D
; Just Configure line 8 To your name and use /shelp
; My next Version will include an on/off switch and make it so the user can switch
;Make sure to change the name >:|
on *:TEXT:*JoeK*:# {
if ($nick == Piff || $nick == Puff || $nick == Ch-rpg| || $nick == Cibby) { .msg $chan $nick }
else if ($chan == #help) { HALT }
else {
msg $chan Hello $nick. My status is : %hstat
}
}
alias shelp {
echo /st <reason>
}
alias st {
set %hstat $$1-
echo Status Set to : $$1-
}
Edited by JoeK (07/18/08 12:51 PM)
|
|
Top
|
|
|
|
Sponsored Links
Member
    
Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
|
|
|
Top
|
|
|
|
#2649 - 07/18/08 12:47 PM
Re: Simple, but useful Away script :)
[Re: JoeK]
|
Over 50 posts
Registered: 11/01/07
Posts: 53
Loc: Illinois
|
Nice script. Just a reminder though: Some channels do not allow away messages (like #help and #chris). Is there a way to adjust the script so that you could add a list of channels where the away message is NOT displayed? Tengrrl
|
|
Top
|
|
|
|
#2650 - 07/18/08 12:58 PM
Re: Simple, but useful Away script :)
[Re: tengrrl]
|
newbie
Registered: 01/05/08
Posts: 28
Loc: Connecticut
|
Over if ($nick == Piff || $nick == Puff || $nick == Ch-rpg| || $nick == Cibby) { .msg $chan $nick } You can put: if ($network == networkname) || ($network == anothernetwork) Of course you don't have to, but if you want it to have it for a certain network, it can be useful. So it will look like this: on *:TEXT:*JoeK*:# {
if ($network == networkname) || ($network == anotherone)
if ($nick == Piff || $nick == Puff || $nick == Ch-rpg| || $nick == Cibby) { .msg $chan $nick }
else if ($chan == #help) { .notice $nick Hello $nick. My Status is : %hstat }
else {
msg $chan Hello $nick. My status is : %hstat
}
}
alias shelp {
echo /st <reason>
}
alias st {
set %hstat $$1-
echo Status Set to : $$1-
}
But it won't help tengrrl's question, I'm just posting for everyone to see  Karol
Edited by Karol (07/18/08 01:07 PM)
_________________________
Join #karol ! Growing everyday!
|
|
Top
|
|
|
|
#2651 - 07/18/08 01:11 PM
Re: Simple, but useful Away script :)
[Re: tengrrl]
|
n00b
Registered: 07/18/08
Posts: 2
Loc: USA
|
Nice script. Just a reminder though: Some channels do not allow away messages (like #help and #chris). Is there a way to adjust the script so that you could add a list of channels where the away message is NOT displayed? Tengrrl Of course, its easy :
else if ($chan == #help || $chan == #chris) { HALT }
To add a new channel just erase the last ) And put || $chan == #chanhere and after the last channel you added, put a ) 
Edited by JoeK (07/18/08 01:12 PM)
|
|
Top
|
|
|
|
#2658 - 07/18/08 05:43 PM
Re: Simple, but useful Away script :)
[Re: JoeK]
|
Over 100 posts
Registered: 03/08/08
Posts: 106
Loc: New Jersey
|
yeah its a pretty cool script, but it does get annoying when like you put that you're away and then like 20 seconds later you come back, and go away again. I personally think you should change your nick to |away or |afk better than the away script. Its less annoying and more people know that you are away =D
_________________________
-Kevin C. Nunez, CEO and Founder of #iPhone on WyldRyde
|
|
Top
|
|
|
|
Moderator: AdmiralJustin, Atri, Catt, crrj, dolsen, Freekie, Helio, Jeff, jpmk12, Justin, Kat, mandy, Mist, nobody, Phil, Pierce, Ryan, SuburbanWolf, therock247uk, ThunderIT-Allan, usrbingeek
|
|
0 Registered (),
3
Guests and
9
Spiders online. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|