$bnick » History » Version 4
Per Amundsen, 08/12/2015 07:33 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.4_ |
|---|---|---|---|
| 2 | |||
| 3 | *$bnick* |
||
| 4 | |||
| 5 | 3 | Per Amundsen | Returns the banned/unbanned users nickname, however this would actually only be filled if the banmask itself includes a nickname. If the banmask does not include a nickname, [[$bnick]] is [[$null]]. |
| 6 | 1 | Per Amundsen | |
| 7 | 3 | Per Amundsen | _This is only filled in the [[on BAN]] and [[on UNBAN]] [[Scripting_Events|event]]._ |
| 8 | 4 | Per Amundsen | |
| 9 | *Example* |
||
| 10 | |||
| 11 | <pre> |
||
| 12 | on *:BAN:*:echo -ag The banned nick is $bnick |
||
| 13 | |||
| 14 | on *:UNBAN:*:echo -ag The unbanned nick is $bnick |
||
| 15 | </pre> |