How to Write an IRC Script
IRC stands for Internet Relay Chat, and is a collection of servers accessed by user clients. One of the most common features in IRC is writing a script to automatically display text at the typing of a shorthand command. This reduces the need for the user to constantly type a commonly used phrase or set of phrases.
Instructions
-
-
1
Open the scripting window in your IRC client.
-
2
Type the line "alias word {", where "word" is the desired command. For example, "alias hello {".
-
-
3
Hit the "Enter" key to drop down one line.
-
4
Type the line "echo -a Phrase", where "Phrase" is the desired display text when the command is entered. For example, "echo -a Hello everybody".
-
5
Hit the "Enter" key to drop down one line.
-
6
Type the line "}" to close the script.
-
1
Tips & Warnings
If the script is placed in an alias file, the word "alias" needs to be removed from Step 2.