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>

Latest revision as of 23:41, 23 March 2011

{{#set:Client=Main}} {{#set:Client=Widget}}{{#set:Type=Alias}}/ban nickname!username@hostname

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.

/ban nickname!username@hostname

/mode # +b $1+