Main Menu
Date / Time
 
Welcome
Username:

Password:


Remember me

[ ]
Last seen
  • Snakes
    [ 9 years, 8 months, 2 weeks, 5 days, 17 hours, 26 mins, 54 secs ago ]
  • zhenpeing
    [ 12 years, 3 months, 4 weeks, 2 days, 15 hours, 56 mins, 41 secs ago ]
  • haizihz745
    [ 12 years, 4 months, 2 days, 22 hours, 58 mins, 23 secs ago ]
  • dfd2sgd045
    [ 12 years, 4 months, 4 days, 5 hours, 38 mins, 8 secs ago ]
  • Tina5v1166
    [ 12 years, 4 months, 4 days, 18 hours, 46 mins, 36 secs ago ]
  • Minem8x5
    [ 12 years, 4 months, 4 days, 20 hours, 20 mins, 13 secs ago ]
  • cbfsbcb925
    [ 12 years, 4 months, 5 days, 20 hours, 7 mins, 50 secs ago ]
  • twgogf93
    [ 12 years, 4 months, 6 days, 22 hours, 59 mins, 36 secs ago ]
  • 1xiankeniyp
    [ 12 years, 4 months, 1 week, 3 hours, 28 mins, 59 secs ago ]
  • yuzongsd
    [ 12 years, 4 months, 1 week, 2 days, 22 hours, 23 mins, 43 secs ago ]
Online
Guests: 4, Members: 0 ...

most ever online: 180
(Members: 0, Guests: 180) on 19 Jan : 17:02

Members: 13
Newest member: huewooey
Chatbox

Snakes
17 Mar : 04:29
Hello SkuZ you ok?


SkuZ
17 Mar : 03:54
Hi Snakessss


Snakes
05 Mar : 05:50
Hi sivad!


sivad
03 Mar : 18:58
hello ppl


Snakes
02 Mar : 11:41
Hello Immortal_Soul!


Immortal_soul
02 Mar : 11:40
woop woop im here :D

Alias Scripting Tutorial
Snakes, Friday 12 March 2010 - 08:50:11

How to edit and make your own aliases script



An alias is an easier way of doing one or mulitple commands, it is basically a shortcut to use. Aliases can be quite simple to quite complex depending on your needs in this tutorial we will cover the basics.

Firstly where to code or put an alias script. Simply follow these 3 steps:

1. Click on Tools
2. Click on Script Editor
3. Click on Aliases

So now you know where to put an alias script you'll want to know how to script one so we'll start with the syntax. Remembering an alias is like a shortcut you will start of with scripting what the shortcut will be this could be an F key (to script these you type which f key it will be for example; F1, F2, F3) followed by the command you want to be triggered.

Example:
F1 /nick Snakes

This means when you press F1 the command performed is /nick Snakes changing your nick name to Snakes.

In the same way as the F key aliases you can make up your own trigger using the same synax. You might find it useful to type the name of a server and have mIRC connect you to that server if so here is how you would do it.

Example: /freenode /server -m irc.freenode.org

The -m will then open a new server window for you so you dont have to leave the server you are already in. The command will work without the -m but will mean if you are currently connected to another server you will get disconnected from it.

You can have the alias trigger multiple commands from the same trigger by using a | between each command. This is useful for connecting to multiple servers or even changing your nick and identifying. I'll provide you with an example of each to get you started.

To recover your nick name when you type /recover you could use an alias like this:

/recover /ns ghost NICK PASSWORD | /nick NICK | /ns identify PASSWORD

Replace NICK with your nick name and PASSWORD with your nickserv password.

To code an alias that will connect you to muiltiple servers when you type /connectme you will need something like this:

/connectme /server irc.freenode.org | /server -m irc.hostchaos.com | /server -m irc.efnet.net

Again the -m will make you connect in a new server window.