Introduction Updates Course Notes Course Test Examples |
Getting Started |
Aliases |
/msg and /echo |
Identifiers You might be thinking 'big deal, how does this help me.' Well, what you've seen so far is extremely limited, useful only to save on typing in very specific situations, because you can only use one line. This is where brackets come in. Brackets allow the script to span multiple lines. Let's try it out, put the following in your aliases: /anybody { Type /anybody in the channel. <nick> Is anybody here? As you can see,
the { caused the alias to activate all the commands in the brackets,
instead of just the line after the /anybody. Also in the script is
that /msg $chan that we saw earlier. Those two commands are very
useful, and can be used a lot. Try some multi-line scripts on your
own, be sure to close the brackets } or you might get some unexpected
results. Also try mixing in some /me commands and see what happens.
/action can also be used in replacement of /me. /delayed { /delayed will now
cause you to say <nick> How's it going everybody?.
And then <nick> That's
good to know exactly one second later. /quiet { Will display in the active window: Text only I can see Echos can be used to convey to you information that you don't want everybody on the channel to see. |