Difference between revisions of "Command:Ban"

From Mibbit Wiki
Jump to: navigation, search
(I made an alias template...I should use it here.)
m
Line 1: Line 1:
 
{{Command
 
{{Command
 
|name=ban
 
|name=ban
|parameters=hostmask
+
|parameters={{hm}}
 
|desc=Sets mode +b ''hostmask'' in the channel this command is used on.  Just like with [[Command:Mode|/mode]], if you include a space before the hostmask, but not the hostmask itself, it will show the [[UI:Banlist|Banlist]] instead.
 
|desc=Sets mode +b ''hostmask'' in the channel this command is used on.  Just like with [[Command:Mode|/mode]], if you include a space before the hostmask, but not the hostmask itself, it will show the [[UI:Banlist|Banlist]] instead.
 
|client=mw
 
|client=mw
Line 9: Line 9:
 
<onlyinclude>{{Alias
 
<onlyinclude>{{Alias
 
|name=ban
 
|name=ban
 +
|parameters={{hm}}
 
|command=/mode # +b $1+
 
|command=/mode # +b $1+
 
}}</onlyinclude>
 
}}</onlyinclude>

Revision as of 23:41, 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:nickname!username@hostname|nickname!username@hostname|}}{{#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 nickname!username@hostname

/mode # +b $1+