Main Menu
Date / Time
 
Welcome
Username:

Password:


Remember me

[ ]
Last seen
  • Snakes
    [ 9 years, 3 weeks, 6 days, 27 mins, 13 secs ago ]
  • zhenpeing
    [ 11 years, 8 months, 6 days, 22 hours, 57 mins, 0 secs ago ]
  • haizihz745
    [ 11 years, 8 months, 1 week, 3 days, 5 hours, 58 mins, 42 secs ago ]
  • dfd2sgd045
    [ 11 years, 8 months, 1 week, 4 days, 12 hours, 38 mins, 27 secs ago ]
  • Tina5v1166
    [ 11 years, 8 months, 1 week, 5 days, 1 hour, 46 mins, 55 secs ago ]
  • Minem8x5
    [ 11 years, 8 months, 1 week, 5 days, 3 hours, 20 mins, 32 secs ago ]
  • cbfsbcb925
    [ 11 years, 8 months, 1 week, 6 days, 3 hours, 8 mins, 9 secs ago ]
  • twgogf93
    [ 11 years, 8 months, 2 weeks, 5 hours, 59 mins, 55 secs ago ]
  • 1xiankeniyp
    [ 11 years, 8 months, 2 weeks, 10 hours, 29 mins, 18 secs ago ]
  • yuzongsd
    [ 11 years, 8 months, 2 weeks, 3 days, 5 hours, 24 mins, 2 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.