$vnick » History » Version 7
Per Amundsen, 02/23/2023 06:46 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$vnick* |
||
| 4 | |||
| 5 | 2 | Per Amundsen | Returns the nick that was (de)opped during a [[on VOICE]], on [[on DEVOICE]] [[Scripting_Events|event]]. |
| 6 | 1 | Per Amundsen | |
| 7 | *Example* |
||
| 8 | |||
| 9 | <pre> |
||
| 10 | 3 | Per Amundsen | on *:VOICE:*:echo -ag The nick opped is $vnick |
| 11 | 1 | Per Amundsen | |
| 12 | 3 | Per Amundsen | on *:DEVOICE:*:echo -ag The nick deopped is $vnick |
| 13 | 1 | Per Amundsen | </pre> |
| 14 | |||
| 15 | ----------------------------------------------------------------------------- |
||
| 16 | |||
| 17 | 4 | Per Amundsen | _Added in 2.0_ |
| 18 | |||
| 19 | 1 | Per Amundsen | *$vnick(#,N)* |
| 20 | |||
| 21 | 5 | Per Amundsen | Returns the Nth voice nick. |
| 22 | 4 | Per Amundsen | |
| 23 | 7 | Per Amundsen | _See also [[$nvnick]], [[$hnick]], [[$nhnick]], [[$opnick]], [[$nopnick.]], [[$admnick]], [[$nadmnick]], [[$onick.]], [[$nonick]]._ |
| 24 | 6 | Per Amundsen | |
| 25 | 4 | Per Amundsen | *Parameters* |
| 26 | 1 | Per Amundsen | |
| 27 | 6 | Per Amundsen | <notextile>#</notextile> - The channel. |
| 28 | 4 | Per Amundsen | N - If N = 0, number of nicks, otherwise the Nth nick. |
| 29 | |||
| 30 | *Example* |
||
| 31 | |||
| 32 | <pre> |
||
| 33 | echo -ag There is $vnick(#,0) voice users |
||
| 34 | |||
| 35 | echo -ag First voice nick is $vnick(#,1) |
||
| 36 | </pre> |