Just a Simple Avoice made a tad bit better with use of tokens
As always just press Alt + R in MIrc and copy and paste
Just use the popup and enable or disable for the room
#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 | set $deltok(%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
}