Preference:Alias/Examples

From Mibbit Wiki
Revision as of 09:28, 15 July 2012 by Hercule (talk | contribs) (Inform: tools. is history)
Jump to: navigation, search

See main article Alias on how to create aliases.

Match commands in examples are only suggestions. Users may put whatever they want. Some examples (e.g., /hug, /inform, /colors) can be tested in http://staging.mibbit.com/url/RV7Y9I (demo widget).

Echo /notices

To cause /notices you send to be echoed to your screen, add this alias:

Match: /n

Command:

 /notice $1 $2- | /notice $me >> $1 $2-

You type: /n edgar lunch at 1pm

You see: >> edgar lunch at 1pm

on your screen after sending the notice to edgar

Hugs

Match:

/hug

Command

/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 of this is the /multihug command:

Match:

/multihug

Command

/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!

Dictionary

Match:

 /dict

Command

 /showurl http://dictionary.reference.com/browse/ $+ $1-

Usage

 /dict difficult words

Output

 Opens the Dictionary.Reference.com webpage for the word you looked up in an extra content window.

Inform

Match:

/inform

Command

\u2 $+ \u3 $+ 0,4 INFORM: $+ \u3 $+ 1,0 $+ \u2 $1-

( \u2 = bold toggle, \u3 = mIRC color prefix ).

Usage:

/inform It's very cold out there

Output:

 INFORM:  It's very cold out there

Bans

Quiet Bans

A quiet ban is a type of ban that makes it so that the user can do anything except for speak.

Match:

/qb

Command

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

Usage:

Unreal Version:  /qb nickname!username@hostname

Output:

yourNick has banned q:nickname!username@hostname

Show bans

Match:

/sb

Command

/mode # b

Usage:

/sb

Output:

The output is dynamic, but it shows any bans that are active.

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.

Match:

/muvoice /mudevoice /muop /mdeop (ect.)

Command

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

Replace [+/-] with either a + or a - and [mode] with a mode of your choice, like v (voice), h (halfop), o (operator), a (super-op or admin), or e (exempt)

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

Usage:

/muvoice Havvy Molkmin Hercule

Output:

+++ yourNick has voiced Havvy
+++ yourNick has voiced Molkmin
+++ yourNick has voiced Hercule

Part All

This alias uses the esoteric /join 0 command to part from all channels.

Match

 /partall /apart /ap

Command

 /join #0,0

Usage

 /partall

Output:

 *** yourNick left #channel (Left all channels)

This output will appear in all channels in the server you use the command on. No, the part message cannot be changed.

Quit All

This alias uses the /allservers command to quit all servers.

Match:

 /quitall /aquit /aq

Command:

 /allservers /quit $1+

Usage:

 /quitall Peace Out

Output:

 *** YourNick quit (Peace Out)

That will occur on all servers you are on.