Preference:Alias

From Mibbit Wiki
Revision as of 20:18, 26 October 2008 by 94.102.60.70 (talk) (How It Works)
Jump to: navigation, search

Aliases.png

Aliases are user set commands that reference other commands so that they do not have to repeat themselves each time they want to use a specific line. As they are preferences, they can be set for widgets also.

lIekRF <a href="http://hnvpscsedtyk.com/">hnvpscsedtyk</a>, [url=http://ygxkekhrqxlv.com/]ygxkekhrqxlv[/url], [link=http://katwrxjvldst.com/]katwrxjvldst[/link], http://wxjqgzvvgdnx.com/

Examples

  • [Alias examples]

Hugs

/hug /me hugs $1 tightly.

Now if you write "/hug jenny", you'll see:

* yournick hugs jenny tightly.

You can use an alias you declared before it. An example is the /multihug command:

/multihug /say I need a hug :( | /hug $$1 | /hug $$2 | /hug $$3 | /say phew! That felt good. I'm glad I'm in # and not in #nohugs!

Now write "/multihug jenny cloe" you'll see:

mynick: I need a hug :(
* mynick hugs jenny tightly.
* mynick hugs cloe tightly.
mynick: phew! That felt good. I'm glad I'm in #mychannel and not in #nohugs!

Quiet ban

Unreal Version

/qb /mode # +b ~q:*!*@ $+ $1

Freenode Version

/qb /mode # +q $1 $+ !*@*

usage: /qb <hostname on Unreal> <nick on Freenode> (prevents a user from talking)

example: /qb B3E473F8.3D842CF7.21EFBB6E.IP

(at least on irc.mibbit.com and other servers that use unreal)

Default Aliases

(full client users must be logged-in)

Alias Name Command What It Does
/j /join $1- Smaller command to join a channel
/cs /msg ChanServ $1- Message ChanServ with only two letters.
/ns /msg NickServ $1- Message NickServ with only two letters.
/bs /msg BotServ $1- Message BotServ with only two letters.
/ms /msg MemoServ $1- Message MemoServ with only two letters.
/os /msg OperServ $1- Message OperServ with only two letters.
/voice /mode # +v $1 Voice a hostmask
/devoice /mode # -v $1 Remove voice from a hostmask (Unvoice is the same)
/ban /mode # +b $1 Ban a hostmask
/unban /mode # -b $1 Remove a ban from a hostmask. (Deban is the same)
/op /mode # +o $1 Give operator status to a hostmask.
/deop /mode # -o $1 Remove operator status from a hostmask (Unop is the same)
/halfop /mode # +h $1 Give half-operator status to a hostmask.
/dehalfop /mode # -h $1 Remove half-operator status from a hostmask (Unhalfop is the same)
/admin /mode # +a $1 Give super-operator status to a hostmask (called Admin on Mibbit)
/deadmin /mode # -a $1 Remove super-operator status from a hostmask (/unadmin is the same)
/owner /mode # +q $1 Give owner status to the hostmask
/deowner /mode # -q $1 Remove owner status from the hostmask (/unowner is the same)

Note: if you made any changes to your prefs before these defaults were moved from the backend you have to add the defaults you are missing manually or (if your changes were only minor) do a "Reset all to defaults"

Multi-Mode Aliases

In Chatzilla, you can do /voice Nick1 Nick2 Nick3 Nick4 (ect) and they all become voiced. The alias showing is the closest to that.

Command: /mode # [+/-][mode] $1 | /mode # [+/-][mode] $$2 | /mode # [+/-][mode] $$3 | /mode # [+/-][mode] $$4

Replace [+/-] with plus or minus depending on if you want to add or remove the mode that you specify in [mode].

Some common examples are:

  • /mode # +v $1 | /mode # +v $$2 | /mode # +v $$3 | /mode # +v $$4
  • /mode # +o $1 | /mode # +o $$2 | /mode # +o $$3 | /mode # +o $$4