Difference between revisions of "Avoice"

From Scriptwiki
Jump to: navigation, search
m
m (Should have been an on join event, not an on text event, I believe)
 
(One intermediate revision by one other user not shown)
Line 20: Line 20:
 
If you do not specify a type then only the users nickname is used. If you specify a type then the users address is looked up via the server.
 
If you do not specify a type then only the users nickname is used. If you specify a type then the users address is looked up via the server.
  
'''Note''' that this is far better than using an [[On_text|On text event]], as this would flood you off the server if many people join, e.g. after a netsplit.
+
'''Note''' that this is far better than using an [[On_join|On join event]], as this would flood you off the server if many people join, e.g. after a netsplit.
  
  
Line 36: Line 36:
  
 
== See Also ==
 
== See Also ==
*[[$avoice]] to receive information about your autovoice list.
+
* [[$avoice]] to receive information about your autovoice list.
 +
* [[Aop|/aop]] for auto-op.
  
Take give someone op everytime he joins, use [[Aop|/aop]].
 
 
[[Category:Control]]
 
[[Category:Control]]
 
[[Category:Commands]]
 
[[Category:Commands]]

Latest revision as of 19:34, 6 May 2009

Adds or removes an address/nick to/from your autovoice list.

/avoice [-rw] <on|off|nick/address> [#channel1,#channel2,...] [type] [network]


If someone is on your autovoice list, you would give the user voice everytime he joins the specified channel / any channel (if no channel was specified).

To turn automatically voice on, use /autovoice on, to turn it off /autovoice off.


You can use the following switches:

Switch Meaning
r removes someone from the autovoice list
w makes the auto-voice apply to every network

If you do not specify a type then only the users nickname is used. If you specify a type then the users address is looked up via the server.

Note that this is far better than using an On join event, as this would flood you off the server if many people join, e.g. after a netsplit.


Example

avoice Dana!dana@staff.quakenet.org #help.script

This would autovoice Dana everytime she joins #help.script.


avoice -r Dana!dana@staff.quakenet.org

This example would remove Dana from your autovoice list.


avoice Dana

If you use this command, you would voice a user with the nickname Dana in every channel you are operator. Note, that this is very unsecure as everyone can use the nickname Dana if it's "free".

See Also

  • $avoice to receive information about your autovoice list.
  • /aop for auto-op.