Difference between revisions of "Command:Ban"
(Alias...) |
(I made an alias template...I should use it here.) |
||
Line 1: | Line 1: | ||
− | + | {{Command | |
|name=ban | |name=ban | ||
|parameters=hostmask | |parameters=hostmask | ||
Line 5: | Line 5: | ||
|client=mw | |client=mw | ||
|type=Alias | |type=Alias | ||
+ | }} | ||
+ | |||
+ | <onlyinclude>{{Alias | ||
+ | |name=ban | ||
+ | |command=/mode # +b $1+ | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 23:26, 23 March 2011
{{#switch: mw |m={{#set:Client=Main}} |w={{#set:Client=Widget}} |mw={{#set:Client=Main}} {{#set:Client=Widget}} }}{{#set:Type=Alias}}/ban {{#if:hostmask|hostmask|}}{{#if: | [{{{disabled}}}]|}}{{#if: Sets mode +b hostmask in the channel this command is used on. Just like with /mode, if you include a space before the hostmask, but not the hostmask itself, it will show the Banlist instead.|:Sets mode +b hostmask in the channel this command is used on. Just like with /mode, if you include a space before the hostmask, but not the hostmask itself, it will show the Banlist instead.|}}{{#if:
| :Output: {{{output}}}
| }}
/ban {{{parameters}}}
- /mode # +b $1+