auto voice and idle devoice with timers

By xplo on May 16, 2008

well this was actually created for #Skype on undernet and i think i should add it here so everyone could have access to it, enjoy :)
When loaded right click in the channel to see some options,
And Make Sure to edit the #CHANNEL_NAME_HERE
you don't need to edit the line 4 with #channel its only a warning msg.

This script will Give +v to everyone who joins and idle devoice if the user is idle, all settings are modifiable with right click menu.

This was written by SanitariuM on undernet.org #mircscripting

#My info: xplorer@live.ca - irc.undernet.org - #mircscripting
#Script infos: Made by SanitariuM @ Undernet - #mircscripting

on *:join:#CHANNEL_NAME_HERE:{ 
  timer 1 5 mode $chan +v $nick 
}
on *:start:{
  set %i.limit#CHANNEL_NAME_HERE 1800
  timer 0 600 check.idle #CHANNEL_NAME_HERE
}
alias check.idle {
  var %chan = $1
  if ( %i.limit [ $+ [ $1 ] ] == 0 ) {
    .echo 4 -a Idle Check is not set for this #channel
    return
  }
  var %nick = $nick(%chan,0,a)
  while (%nick >= 1) {
    if ($nick(%chan,%nick,a) != $me ) {
      if (%nick !isreg %chan) {
        if ( $nick(%chan,%nick,a).idle > %i.limit [ $+ [ %chan ] ] ) {
          if ($me isop %chan) {
            mode %chan -v $nick(%chan,%nick,a)
          }
        }
      }
    }
    dec %nick
  }
}

menu channel {
  -
  Idle Limiter
  .Set :set %i.limit [ $+ [ $chan ] ] $$?="Idle limit? (1800 = 30 minute) "
  .Reset :unset %i.limit [ $+ [ $chan ] ]
  .Check:check.idle $chan
  -
}

Comments

Sign in to comment.
xplo   -  Jan 08, 2011

its not ripped, its from SanitariuM @ Undernet like i said in the description.

 Respond  
DaRcNeSSFaLLs   -  Dec 15, 2010

BTW this is a ripped script, the alias check.idle and menu items are from this link

http://www.hawkee.com/snippet/1575/

This script was originally posted on December 20, 2005 by anthalus

profile seen here:
http://www.hawkee.com/profile/6251/

The only changes made to the script are as follows:

;Added;

on :join:#CHANNEL_NAME_HERE:{
timer 1 5 mode $chan +v $nick
}
on
:start:{
set %i.limit#CHANNEL_NAME_HERE 1800
timer 0 600 check.idle #CHANNEL_NAME_HERE
}

;Removed;

the checking for halfops in the alias ... Maybe you shouldn't make it so obvious when you rip something ya?

 Respond  
Jethro   -  Dec 11, 2010

Yeah time flies, so do time travelers.

 Respond  
xplo   -  Dec 11, 2010

its not ripped, its made by a buddy of mine that does not uses hawkee.
SanitariuM on undernet,
and damm this has been posted a while ago haha

 Respond  
SnoooP   -  May 16, 2008

it could be... but sometimes people do it because it isnt very useful or somethin... i dunno why it got rated a 1 ... can only guess lol

 Respond  
Eugenio   -  May 16, 2008

woah someone rated 1 = must be ripped

 Respond  
SnoooP   -  May 16, 2008

lmao :P~ lol.... i actually did too... And suprise suprise ... it didn\'t work :P~

ahwell

irc has livend up more now... :P

 Respond  
xplo   -  May 16, 2008

click on this link --> www.i-talk-to-myself.com

Lawl

 Respond  
SnoooP   -  May 16, 2008

its ok... but my question is why devoice them... not trying to be nasty lol... but i think a kicks likely to make them wake up lol....

but then on the other hand it is useful if you have active nicks voiced... and have bots and idlers devoiced...

so hah shutup Snoopy just solved your own question lol....

:P boredom does random things to me :D

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.