Main Menu
Date / Time
 
Welcome
Username:

Password:


Remember me

[ ]
Last seen
  • Snakes
    [ 2 years, 9 months, 2 weeks, 1 day, 4 hours, 30 mins, 7 secs ago ]
  • zhenpeing
    [ 5 years, 4 months, 3 weeks, 5 days, 2 hours, 59 mins, 54 secs ago ]
  • haizihz745
    [ 5 years, 4 months, 4 weeks, 1 day, 10 hours, 1 min, 36 secs ago ]
  • dfd2sgd045
    [ 5 years, 4 months, 4 weeks, 2 days, 16 hours, 41 mins, 21 secs ago ]
  • Tina5v1166
    [ 5 years, 5 months, 5 hours, 49 mins, 49 secs ago ]
  • Minem8x5
    [ 5 years, 5 months, 7 hours, 23 mins, 26 secs ago ]
  • cbfsbcb925
    [ 5 years, 5 months, 1 day, 7 hours, 11 mins, 3 secs ago ]
  • twgogf93
    [ 5 years, 5 months, 2 days, 10 hours, 2 mins, 49 secs ago ]
  • 1xiankeniyp
    [ 5 years, 5 months, 2 days, 14 hours, 32 mins, 12 secs ago ]
  • yuzongsd
    [ 5 years, 5 months, 5 days, 9 hours, 26 mins, 56 secs ago ]
Online
Guests: 1, 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.