$nvnick » History » Version 3
Paul Janson, 03/26/2021 05:03 AM
| 1 | 1 | Per Amundsen | _Added in 2.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$nvnick(#,N)* |
||
| 4 | |||
| 5 | 3 | Paul Janson | Returns the Nth 'regular' nick. Is a deprecated identifier that's the equivalent of $nick(#,N,r) |
| 6 | 1 | Per Amundsen | |
| 7 | *Parameters* |
||
| 8 | |||
| 9 | <notextile># - The channel.</notextile> |
||
| 10 | N - If N = 0, number of nicks, otherwise the Nth nick. |
||
| 11 | |||
| 12 | *Example* |
||
| 13 | |||
| 14 | <pre> |
||
| 15 | 3 | Paul Janson | //echo -ag There are $nvnick(#,0) non opvoice users |
| 16 | 1 | Per Amundsen | |
| 17 | 3 | Paul Janson | //echo -ag First non opvoice nick is $nvnick(#,1) |
| 18 | |||
| 19 | //if ($nvnick(#,foobar)) echo -ag foobar is the $ord($v1) regular nick |
||
| 20 | 1 | Per Amundsen | </pre> |