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…') |
(No difference)
|
Revision as of 21:45, 18 April 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).
Contents
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!
Inform
Match:
/inform
Command
chr(2)chr(3)0,4 INFORM: chr(2)chr(3)1,0 $1-
( chr(2)=\u0002 bold toggle, chr(3)=\u0003 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.