A Happy Place is a Nice Place to Be [[R.I.P Sean]]
 
Home­Portal­Calendar­Gallery­FAQ­Search­Register­Log in
Latest topics
» Quotes
Tue Mar 09, 2010 7:57 pm by onexbox

» So You Think You Can Be A DJ?
Tue Feb 23, 2010 9:46 pm by SPAWN

» Pics. :)
Tue Feb 23, 2010 1:13 am by gathrax

» mIRC help
Fri Feb 19, 2010 2:20 am by ThatOneDude

» Gathrax's new car!!
Sun Feb 07, 2010 6:18 pm by gathrax

» UK Big Freeze
Mon Jan 11, 2010 3:25 pm by Fang54

» Merry Christmas Wishes.....
Mon Jan 11, 2010 3:17 pm by Fang54

» Themed Set ...Charmaine and Sandman
Sat Jan 09, 2010 2:32 pm by Fang54

» Mr_Circus is graduating army basic training today
Sat Jan 09, 2010 2:31 pm by Fang54

March 2010
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031    
CalendarCalendar
Post new topic   Reply to topicShare | 
 

 From humble beginnings: Aliases

View previous topic View next topic Go down 
AuthorMessage
miniCruzer
Member
Member


Number of posts: 9
Age: 33
Where You Live: Kentucky
Hobbies & Pastimes: Scripting, Anything Computers, Outdoors, Camping
Registration date: 2007-05-05

PostSubject: From humble beginnings: Aliases   Fri May 29, 2009 10:15 pm

What's an alias? It allows us to perform something in a few words.

Code:
/join #radio

*miniCruzer joins #radio
Code:
/radio

Same thing.

Alias:
Code:
/radio /join #radio

Now instead of typing /join #radio, all we have to type is /radio

Some things you should know about aliases
$1 Means word number 1. You can continue with $2 and so on.
$$1 Means word number 1, but won't perform the alias without it being specified
$1- Means set of words number 1. If want there to be more after the first word, you would use this.
$# Indicates a channel
/say Means that you say something in the channel you are in
/me Means that you will perform an action in the channel you are in.

Slapping!
Instead of using mIRC's right-click then Slap function, we can make our own!
Code:
 /slap {
/me slaps $1
/me runs because $1 is mad
/me crashes into $2
/me runs from both $1 and $2
}

This will perform all of those /me's in 3 words: /slap Nick1 Nick2. It will look like this
I say: /slap Toby Mum
*miniCruzer slaps Toby
*miniCruzer runs because Toby is mad
*miniCruzer crashes into Mum
*miniCruzer runs from both Toby and Mum

All of this happens in a few miliseconds.

For operators!
Operators can use these to kick, voice, halfop, and op people!
Instead of /kick #radio miniCruzer You're annoying
Code:
 /k /kick #radio $1 $2-

An operator would now only type:
/k miniCruzer You're annoying!

Code:
/devoice /mode #radio -v $$1

/devoice miniCruzer

For administrators!
Admins can set channel modes using aliases!
Code:
/moderated /mode #radio +m


Outside of #radio
Say you're an operator on several channels. This would be useful to know:
Code:
/devoice /mode $# -m $1

/devoice #channel miniCruzer
-----
Aliases can become complex. You can even use the in Remotes. Buuuut...we won't go there...

_________________

Back to top Go down
View user profile http://minicruzer911.co.cc/
 

From humble beginnings: Aliases

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
UNITED Radio Forum :: mIRC Help Section-
Post new topic   Reply to topic