alias commands group

alias commands group is for changing the form of commands, shorting, uniting and customizing them etc... Changing the form of command don't cancel the work of standard commands. Only admins and owners of the conference can use this group of commands.

  • !alias add [symbol or combination] = ![standard command] - how to write an alias.

E.g.:

  • !alias add dfn = /nowrap !word add %* - we just cut the standard quote adding command. So on if you wanna add a quote (wtf) then just write !dfn [word] = description instead of !word add [word] = description.

  • !alias add ak = !muc akick %* - we just cut the standard automatic kick command. So on if you wanna add an akick command then just write !ak [nick]. %* symbols means variable quantity, for example nick.
  • !alias add sleep = !muc akick /7h exp .* - after this when you'll write a command !sleep bot will kick anyone from conference who has an access level lower than member for 7 hours.

Variations:

  !alias add sleep = !muc akick /7h exp .*@jabber.org - command will work for users from the server jabber.org (for example)
  !alias add sleep = !muc akick /7h exp .*@*.com - command will work for users from the domain .com (for example).
  Also the time of alias activity can be indicated in minutes - **m** , hours - **h** or days - **d**
  • !alias add r = !word showpriv %* rules; !muc visitor %* - here you can see how to unite several aliases to one. In this case when bot receives the command !r [nick] he'll send a quote with rules to selected user and will give him a visitor. You must have the "rules" quote already written (see help_english:documentation-en:word? for more details).
  • !alias show - shows the list of aliases.
  • !alias show [alias] - shows the concrete alias.

E.g.:

     <user> !alias show vn
     <gluxi> Alias: vn=!muc visitor %*; !word showpriv %* bombus_nick;
     !word showpriv %* bombus_vcard; !word showpriv %* bombus_right_nick
  • !alias del [alias] - deletes the concrete alias.
  • !alias clear - deletes all aliases.
  • !alias count - shows the count of aliases.