Autovoice + Greet

By PowerScripters on Jan 09, 2010

The Autovoice + Greet gives every User voice IF

The Bot has OP
The User hasn't voice.

  • The Greet is posted everything, even if the Heaven is red ;)
on *:join:#: {
  if ($nick != $me) {
    if ($me isop $chan) {
      if ($nick isvoice $chan) { noop }
      else {
        mode $chan +v $nick
      }
    }
    notice $nick Welcome to $chan $nick Have fun.
    notice $nick Random News: $iif($read(feed.txt) == $null,» Put News in: feed.txt,$read(feed.txt))
  }
}

Comments

Sign in to comment.
Jethro   -  May 20, 2010

Even a snippet's failure can be reversed by reworking and improving it. You can add a trigger protection to protect yourself from spam or ddos types of attack when it takes place. The snippet is not well coded though. The author didn't take some factors into consideration.

 Respond  
LinuxChick   -  May 20, 2010

This script make you say the welcome msg as a notice to every person that joins every channel on every server, I did it in a channel on a server that just got DDOS'ed and went from 300 users to 1500 users, so it said Welcome to #Channelname, nickname - fail.

::

on *:join:#:#CHANNEL-NAME {
if ($nick != $me) {
if ($me isop $chan) {
if ($nick isvoice $chan) { noop }
else {
mode $chan +v $nick
}
}
notice $nick Welcome to $chan , $nick Enjoy!:)
}
}

 Respond  
gooshie   -  Jan 09, 2010

Jethro_
Whenever I think about /pop & /pvoice I imagine all the ops using the same amount of delay and even with a marginal difference in lag/whatever they all end up sending the command anyway. I think it would be usefull if you have people set with ChanServ to auto-op/voice.

If I was to get serious about having a delay I might script it so if more than one person joins during that delay time then it ends up modeing them all in one line. But even this is not all that usefull until you oping a big channel.

 Respond  
Jethro   -  Jan 09, 2010

How about using the /pvoice command?

 Respond  
gooshie   -  Jan 09, 2010
on !*:join:#: {
  if ($nick(#,$me,~&@%)) mode # +v $nick
  notice $nick Welcome to # $nick Have fun.
  notice $nick Random News: $iif($read(feed.txt) == $null,» Put News in: feed.txt,$read(feed.txt))
}
 Respond  
PowerScripters   -  Jan 09, 2010

Its edited ;)

 Respond  
sunslayer   -  Jan 09, 2010

+1 gooshie

 Respond  
gooshie   -  Jan 09, 2010

sunslayer
Don't really need the '!' because impossible to trigger
your own on join event if it requires '@'

 Respond  
sunslayer   -  Jan 09, 2010
on !@*:join:#: {
  notice # Welcome to # $nick Have fun.
  notice # The time is now $time
  mode # +v $nick
}
 Respond  
gooshie   -  Jan 09, 2010
on @*:join:#: {
  notice # Welcome to # $nick Have fun.
  notice # The time is now $time 
  mode # +v $nick
}
 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.