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
Code:
;; 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-
}
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
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:
Code:
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
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 :
Code:
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 )
iPhone
Over 50 posts
Registered: 03/08/08
Posts: 92
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
Jerry
newbie
Registered: 04/27/08
Posts: 26
Loc: New Jeresy, USA
But the thing is with scripts like that, they can be configured to respond on a highlight. So people can be more informed of when you will be back. Because jthermane24|away could mean that I could be away for a minute or an hour.
_________________________
--Jerry Smith #Jerry, #macfan406, #iPhone, #nick http://jerrysmith.us.to
WyldRyde, WyldRyde IRC Network, WyldRyde Corp, WyldRyde Corporation, WyldRyde.org, WyldRyde.net, and WyldRyde Chat Script are trademarks of WyldRyde Corporation. All other trademarks and tradenames are property of their respective owners.