Sponsored Links




Topic Options
Rate This Topic
#2648 - 07/18/08 12:42 PM Simple, but useful Away script :)
JoeK Offline
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
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-
}


Edited by JoeK (07/18/08 12:51 PM)

Top
Sponsored Links
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]
tengrrl Offline
Over 50 posts

Registered: 11/01/07
Posts: 51
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]
Karol Offline
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:

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 smile

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]
JoeK Offline
n00b

Registered: 07/18/08
Posts: 2
Loc: USA
Originally Posted By: tengrrl
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 )
laugh


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]
iPhone Offline
Over 50 posts

Registered: 03/08/08
Posts: 99
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
#2661 - 07/18/08 06:13 PM Re: Simple, but useful Away script :) [Re: iPhone]
Jerry Offline
newbie

Registered: 04/27/08
Posts: 28
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

Top


Recent Posts
Thank You Moderators
by Firebucket
Today at 06:36 PM
Caps Warning
by iAlex
Today at 03:58 AM
mIRC on <censored> notice
by Jerry
09/03/08 08:29 PM
Who uses Twitter?
by Jerry
09/03/08 08:26 PM
Happy birthday usrbingeek!
by tplack
09/03/08 08:13 PM
What do you guys think the best IRC client is?
by iPhone
09/03/08 08:05 PM
!add !edIT !del for a mIRC bot
by boredcollegekid
09/02/08 05:14 PM
Using mIRC on multiple networks
by iAlex
09/02/08 01:20 AM
Profile Settings
by usrbingeek
09/01/08 03:15 PM
MyNick
by Jonny
09/01/08 05:49 AM
How do I identify on Rooms app for iPhone?
by techman224
08/31/08 06:26 PM
Automated Ban removal
by iPhone
08/28/08 11:32 PM
Recent Pics
Old school IRC
How to use Google!
TIX
Who's Online
1 Registered (1 invisible), 3 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 439
Kat 235
iPhone 99
Phil 90
Freekie 79
techman224 68
CCMike 66
Justin 62
wirelesspacket 52
tengrrl 51
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.