.
mIRC allows you to create aliases and scripts to speed up your IRC session or to perform repetitive functions more easily.
.
.
To open your alias file:
Press alt+A or click on Tools/Aliases
.
To create a simple alias:
.
Each alias needs to begin with a backslash ( / ) and a name
(example: /wb)
Follow the name by a space and an irc command.  We will use /say
(example: /wb /say)
Follow /say with your message or function:
(example: /wb /say Welcome back! We really missed you!)
becomes

Some symbols you should know:
.
$1 will pick up the first word typed after the command

(example: /wb /say Welcome back, $1 !!)
You could type in someone's nick after you type /wb
would become:

$2 will pick up the 2nd word or group of words typed after the command
                                        (example: /op /msg X op $1 $2)
                                        You could then type "/op nick nick and op two people .

$$1 and $$2 basically do the same thing as $1 and $2.  BUT....if you use the $$1 or $$2 and don't fill in a word, the entire alias will not work... You can leave $1 and $2 empty if you choose to. The alias will still work
                                         (example: /wb /say Welcome back $$1 !!)
                                         If you do not type in a nick, the alias will not work at all.
                                         (example: /wb /say Welcome back $1 !!)
                                         If you fail to enter a nick, you will still get "Welcome back!!"

*1 *2 work like $1 and $2
 
|   -- the "pipe" or "bar" separates commands...so if you want to perform 2 operations with one alias you can separate them using the |.
                (example: /kb /kick # mirc4dummies $1 | /mode #mirc4dummies +b $1)
                By typing /kb "nick" you would kick and ban the person whose nick you typed.
                (example: /wb /say Welcome back $1 !! | /sound wb.wav)
                By typing /wb "nick" you would play your alias and play the wb.wav

$snicks in place of the $1 will pick up the highlighted nick.

Using other aliases in your aliases:
Another fun thing to do is to use an alias within an alias....For instance, /kt  is an alias that gives us multi colored letters....You can use that alias instead of the /say command.

(example: /wb /kt Welcome back $1 !!)
That would print your message using the /kt alias.
becomes

Programming the f-keys:
You can use an f key or shift f keys by programming them to be used instead of a /command.

My first f-key was this one:

 which becomes:
 
 Ops often use the f keys for quick kicks and bans.
             (example: /f1 /kick # $?1 | /mode # +b $! | /notice $! Profanity is not allowed in this channel.)
That would kick, ban and send a /notice to the person being kicked.
The ? between the $ and the !  opens a box for you to enter the person's nick.
The $! puts in the same nick you put in the box.
Making a timer:
Use /timer[name or #] [repititions] [interval] [command]
example: /timer1 0 600 /say  if you are not a channel operator.. please type /remote off and or /timer off .... your constant running remotes make it very hard for working ops to monitor and help ppl.. thanks so much...:))
That would play girlybear's "remotes off" message an indefinite number
of times- (0) -every 600 seconds- (600)-.
If you change the 0 to 5, it will play it 5 times then stop.
If you change the 600 to 300, it will play every 300 seconds.
To stop any timer you can either type
/timers off or
/timer<name or number> off
.
.
Return to MAIN page
.
Return to newop page