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: 58
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: 32
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 100 posts

Registered: 03/08/08
Posts: 108
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: 34
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
mIRC Script Editor in WINE Crashes... constantly
by iAlex
Yesterday at 11:53 AM
Need Badword Kick Script!
by iAlex
11/30/08 11:30 AM
Bot file logging
by iAlex
11/30/08 11:12 AM
Reminding People of Rules
by usrbingeek
11/30/08 12:42 AM
-improved status bragginb
by iAlex
11/29/08 07:25 PM
Quick Moderation Alias
by Firebucket
11/29/08 07:07 PM
Voice
by Sn0vv
11/28/08 09:53 PM
Some Suggestions
by Sn0vv
11/28/08 09:16 PM
Thank You Moderators
by Sn0vv
11/28/08 09:07 PM
Rules for Voiced Users being Enforced More
by Sn0vv
11/28/08 08:58 PM
Accept and Deny private message scripts
by iAlex
11/28/08 08:36 AM
Topic Script!!!
by bradjoe96
11/27/08 08:53 PM
Recent Pics
mIRC on Linux
mIRC on Linux???
Computer Spam o_O
Who's Online
2 registered (Alicia, Justin), 6 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 482
Kat 276
iPhone 108
Phil 98
Freekie 86
CCMike 78
techman224 75
Justin 72
tengrrl 58
wirelesspacket 52
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.