mIRC Home    About    Download    Register    News    Help

Print Thread
User Types = Advertize #134368 31/10/05 02:30 PM
Joined: Aug 2004
Posts: 44
D
DarkLogan Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
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

Re: User Types = Advertize #134369 31/10/05 03:17 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
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
Re: User Types = Advertize #134370 31/10/05 03:36 PM
Joined: Aug 2004
Posts: 44
D
DarkLogan Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
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 ??

Re: User Types = Advertize #134371 31/10/05 03:49 PM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline
Hoopy frood
Offline
Hoopy frood
L
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
}


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Re: User Types = Advertize #134372 31/10/05 03:50 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
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...

Code:
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
Re: User Types = Advertize #134373 31/10/05 03:52 PM
Joined: May 2005
Posts: 449
bwr30060 Offline
Fjord artisan
Offline
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).

Re: User Types = Advertize #134374 31/10/05 05:03 PM
Joined: Aug 2004
Posts: 44
D
DarkLogan Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
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
}
}

???????????????????

Re: User Types = Advertize #134375 31/10/05 05:34 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
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
Re: User Types = Advertize #134376 31/10/05 08:17 PM
Joined: Aug 2005
Posts: 525
S
schaefer31 Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
Quote:
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.

Re: User Types = Advertize #134377 01/11/05 10:07 PM
Joined: Aug 2004
Posts: 44
D
DarkLogan Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
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

Re: User Types = Advertize #134378 02/11/05 02:23 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
What is the error you're getting?


Invision Support
#Invision on irc.irchighway.net