Project

General

Profile

Avoice » History » Version 4

Per Amundsen, 02/14/2023 11:20 AM

1 1 Per Amundsen
_Added in 3.1_
2
3
*/avoice [-lrw] <on|off|nick|address> [#channel1,#channel2,...] [type] [network]*
4
5
Add/remove/list users from the auto-voice list.
6
7 2 Per Amundsen
/avoice with no parameters shows [[$true]] if auto-op is enabled, otherwise [[$false]].
8
9 3 Per Amundsen
_See also [[$aop]], [[/aop]], [[/protect]], [[$protect]]._
10 2 Per Amundsen
11 1 Per Amundsen
*Switches*
12
13 4 Per Amundsen
table(ktable).
14
|*Switch*|*Description*|
15
| -l | Prints all auto-voice users. |
16
| -r | Removes a address from the auto-voice list. (if no address is specified, clears the auto-voice list) |
17
| -w | Indicate the auto-voice should be enabled on all networks. |
18 1 Per Amundsen
19
*Parameters*
20
21 4 Per Amundsen
table(ktable).
22
|*Parameter*|*Description*|
23
| on | Turns auto-voice on. |
24
| off | Turns auto-voice off. |
25
| address | The address or nick to add/remove from the auto-voice list. |
26
| [#channel1,#channel2,...] | List of channels to auto-voice in. |
27
| [type] | A number representing a [[$mask]] to use. (if user is not found in the internal address list, a lookup is performed) |
28
| [network] | The network to auto-voice in. |
29 1 Per Amundsen
30
*Example*
31
32
<pre>
33
; Adds 'nick!nick@42.42.42.42' to the auto-voice list on the channel '#channel'
34
/avoice nick!nick@42.42.42.42 #channel
35
36
; Adds 'nick!*@*' to the auto-voice on any channel.
37
/avoice nick
38
39
; Remove 'nick!nick@42.42.42.42' from the auto-voice.
40
/avoice -r nick!nick@42.42.42.42
41
</pre>