auto voice

By LucSatise on Jul 28, 2007

This script will autovoice anyone who joins a channel.

You can select which channels or disable the whole script.

o yh..: This is a debug not made by me

#Autovoice on
...
on *:JOIN:#:if ($istok(%avoice,#,32)) { mode # +v $Nick }
...
#Autovoice end
*:LOAD:set %AvoiceSwitch on
menu channel,menubar {
  Auto-Voice
  .$iif(%AvoiceSwitch == off,Enable Avoice,$style(1) Avoice Enabled): set %AvoiceSwitch on | describe $chan Avoice Script Now Enabled
  .$iif(%Avoice,Add/Remove,Disabled)
  .. Enable for $chan : .Enable #avoice | /msg $chan Auto Voice Is Now Enabled for this room | set %avoice $addtok(%avoice,$chan,32)
  .. Disable for $chan : .Disable #avoice | /msg $chan Auto Voice Is Now Disabled for this chan | set %avoice $remtok(%avoice,$matchtok(%avoice,$chan,1-,32),32)
  .$iif(%AvoiceSwitch == on,Disable Avoice,$style(1) Avoice Disabled): set %AvoiceSwitch off | Describe $chan Avoice Script Now Disbled
}

Comments

Sign in to comment.
Jethro   -  Mar 20, 2010

How do I get this to just notice me that it has been disabled for a certain channel instead of msging the channel?change > /msg $chan to

/notice $me

and remove the whole line where > /describe $chan is located.

 Respond  
RicJames   -  Mar 20, 2010

How do I get this to just notice me that it has been disabled for a certain channel instead of msging the channel?

 Respond  
Balta   -  May 24, 2009

How i get this to halt if they already Op ?

 Respond  
Chat-Police   -  Feb 29, 2008

very nice :)

good work LucSatise

i have added an on/off via a trigger for my bot for those on bot access

 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.