|
|
Joined: Aug 2004
Posts: 44
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2004
Posts: 44 |
Heys guys Is there a script that will work like an away system only it does it as soon as someone types to the channel ?? ex: user joins and says Hey whats up Then my mirc auto says Busy Online Gaming in the channel or even in private msg dont matter. Something like that. Thanx
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
Well, consider the danger of that... you'd reply everytime someone typed something...
<User> Hi <You> *away <User> Darn <You> *away <User> Stop! <You> *away
You could put a timer to prevent more than one response every X seconds, but even that would be a problem. You're better off only doing a response to text if your nick is in it...
<User> Hey, You! <You> *away
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: Aug 2004
Posts: 44
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2004
Posts: 44 |
Yeah I understand that. See I'm in a gaming clan and alot of ppl join and say Hey whats up. Then they sit there thinking were not around when were acually playing the game. So I would like to have something that says ex: Online Gaming or something when they type. Away systems are ok but they have time limits and I dont want to have an ad scrolling every 2 mins just to let ppl know were online gaming. See where I'm going with this ??
|
|
|
|
Joined: Aug 2005
Posts: 1,052
Hoopy frood
|
Hoopy frood
Joined: Aug 2005
Posts: 1,052 |
How about a on JOIN script
on *:JOIN:#CLANCHANNEL: { notice $nick Hey we are currently in the middle of playing a game }
or
on *:JOIN:#CLANCHANNEL: { msg $chan Hey $nick $+ , Theres currently a game in session ill be back soon }
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
Well, if you're sure you want this, then here is a method that will work and hopefully help prevent problems with flooding...
on *:text:*:#yourchan: {
if (%away. [ $+ [ $nick ] ] == $null) {
msg $nick $awaymsg
set -u60 $+(%,away.,$nick) 1
}
}
That will make it only respond to a specific nick once ever minute, but allow it to still respond to any other nick. Replace #yourchan.
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: May 2005
Posts: 449
Fjord artisan
|
Fjord artisan
Joined: May 2005
Posts: 449 |
Or just change your nick to DarkLogan-gaming or something, or set your away status to "Gaming" and advise your users to check your status (maybe in the channel topic).
|
|
|
|
Joined: Aug 2004
Posts: 44
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2004
Posts: 44 |
this code is not working
on *:text:*:#yourchan: { if (%away. [ $+ [ $nick ] ] == $null) { msg $nick $awaymsg set -u60 $+(%,away.,$nick) 1 } }
???????????????????
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
What doesn't work? Did you set /away with a message and then have someone else type something in the channel?
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: Aug 2005
Posts: 525
Fjord artisan
|
Fjord artisan
Joined: Aug 2005
Posts: 525 |
this code is not working
on *:text:*:#yourchan: { if (%away. [ $+ [ $nick ] ] == $null) { msg $nick $awaymsg set -u60 $+(%,away.,$nick) 1 } }
??????????????????? Not sure if it's the problem, but you need to change the red part.
|
|
|
|
Joined: Aug 2004
Posts: 44
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2004
Posts: 44 |
Yes I did set away and have someone type in the channel. The error comes up no matter if i'm set away or not. Evertime someone types i get the error in my status screen
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
What is the error you're getting?
Invision Support #Invision on irc.irchighway.net
|
|
|
|
|
|