Difference between revisions of "Preference:Alias/Examples"
(Created page with 'See main article Alias on how to create aliases. Feel free to add your example Match commands in examples are only suggestions. Users may put whatever they want. Some examp…')
(→Inform: \u usage in aliases)
|Line 36:||Line 36:|
0,4 INFORM: 1,0 $1-
( = bold toggle, = mIRC color prefix).
Revision as of 15:30, 22 May 2010
See main article Alias on how to create aliases. Feel free to add your example
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).
/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:
/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!
\u2 $+ \u3 $+ 0,4 INFORM: $+ \u3 $+ 1,0 $+ \u2 $1-
( \u2 = bold toggle, \u3 = mIRC color prefix ).
/inform It's very cold out there
INFORM: It's very cold out there
A quiet ban is a type of ban that makes it so that the user can do anything except for speak.
Unreal Version: /mode # +b ~q:*!*@ $+ $1
Unreal Version: /qb nickname!username@hostname
yourNick has banned q:nickname!username@hostname
/mode # b
The output is dynamic, but it shows any bans that are active.
In Chatzilla, you can do /voice Nick1 Nick2 Nick3 Nick4 (ect) and they all become voiced. The alias showing is the closest to that.
/muvoice /mudevoice /muop /mdeop (ect.)
/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
/muvoice Havvy Molkmin Hercule
+++ yourNick has voiced Havvy +++ yourNick has voiced Molkmin +++ yourNick has voiced Hercule
This alias uses the esoteric /join 0 command to part from all channels.
/partall /apart /ap
*** 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.
This alias uses the /allservers command to quit all servers.
/quitall /aquit /aq
/allservers /quit $1+
/quitall Peace Out
*** YourNick quit (Peace Out)
That will occur on all servers you are on.