mIRC Homepage
Posted By: DarkLogan User Types = Advertize - 31/10/05 02:30 PM
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
Posted By: Riamus2 Re: User Types = Advertize - 31/10/05 03:17 PM
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
Posted By: DarkLogan Re: User Types = Advertize - 31/10/05 03:36 PM
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 ??
Posted By: Lpfix5 Re: User Types = Advertize - 31/10/05 03:49 PM
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
}
Posted By: Riamus2 Re: User Types = Advertize - 31/10/05 03:50 PM
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.
Posted By: bwr30060 Re: User Types = Advertize - 31/10/05 03:52 PM
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).
Posted By: DarkLogan Re: User Types = Advertize - 31/10/05 05:03 PM
this code is not working

on *:text:*:#yourchan: {
if (%away. [ $+ [ $nick ] ] == $null) {
msg $nick $awaymsg
set -u60 $+(%,away.,$nick) 1
}
}

???????????????????
Posted By: Riamus2 Re: User Types = Advertize - 31/10/05 05:34 PM
What doesn't work? Did you set /away with a message and then have someone else type something in the channel?
Posted By: schaefer31 Re: User Types = Advertize - 31/10/05 08:17 PM
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.
Posted By: DarkLogan Re: User Types = Advertize - 01/11/05 10:07 PM
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
Posted By: Riamus2 Re: User Types = Advertize - 02/11/05 02:23 PM
What is the error you're getting?
© mIRC Discussion Forums