Introduction
Updates
Course Notes
Course Test
Examples |
|
Getting Started |
Aliases |
/msg and /echo |
Identifiers
If-Then-Else |
Variables |
Pop-Ups |
Remotes
This is the real meat of the course, so let's
get started right away. First off, connect to an mIRC server, and
join a channel (note: all the instructions I give are for mIRC, and may
not work for other IRC clients). The most basic, and useful, form of
scripting is using something called aliases. You'll get to know them
very well. In simple form, aliases are when you type a / command in
a channel, and something happens. For example /nick Choosh will
change your nickname to Choosh.
To access the aliases, either click
the green button , go to Tools >
Aliases, or press alt-A.
You are now in the Alias window, which is where most of
your scripting will occur. There are quite a few aliases already
there. They might not all make sense right now, but you might
recognize some of it. All aliases have two parts to them, the
trigger and the commands. The trigger causes the commands to be
activated. (example: /join /help
/quit /okigetthepointalready) Aliases are in the syntax of
/trigger commands. Take some time to familiarize yourself with
the window, take a look at some of the aliases already there and try them
out. Don't worry about the #$$1, $2-, and -ooo stuff, we'll talk
about that later. Especially note the tabs on top, since we will be
using them later also.
Note:
Syntax is how things are organized, like scripting or the English language
Colors used in this course:
This is for when you'll be typing commands, or
adding commands to an alias file.
This color is for /me commands
This color is for regular things you say on a
channel
This color is used for echos.
Let's
make some aliases |