
I think reactions would have been an appropriate name
for this; because your event lines determine how your pirch (and your computer)
will react to channel events. The events you set up will automatically handle
everything you tell them to, that way you are free to chat, play popups, or
whatever. The reasons for setting up events are varied and, like Prefs, are set
up to your liking and needs.

First let's look at the Events window:
It has 3 sections:
- LEVELS
- (on the upper left)
- The easiest way to explain the levels is to compare
them to a high security skyscrapper.
- See the first level (000-Unknowns)? This is the lobby
and everyone is allowed in the lobby. This is where you set up events that
pertain to everyone you meet (i.e. auto greets, sound events, etc.).
- As with all high security buildings you need a pass (or
something) to go any higher. You set these passes up to
determine who is allowed more access to your events.
- LEVEL USER LIST
- (on the upper right)
- This is where you tell pirch who can access this level.
- If you click on level 000-Unknowns you will see *!*@*
in this area, that is a pirch variable that means everyone is allowed here.
- If you have just downloaded Pirch or haven't added any
events the other levels will be blank when you click on them, these are for you
to set up as you please.
- EVENTS
- (on the bottom)
- This is where the actual event lines go.
Ok, now that you know what to look for and where to put
it let's work with some events. We'll work with level 000-Unknowns first. So
click on the events button, click on the 000 level, then left click in the
bottom part (Events) to place the cursor. If you are typing these they must be
entered exactally to work right, if you are cutting and pasting- right
click and choose paste then click save on the bottom of the events window.
- Auto Greeting
- To all that enter the channel you are in. I am going to
use a notice here because auto greets get on peoples nerves and as a notice only
you and the person entering will see it.
- ON JOIN:#:/notice $nick
$me welcomes you to #. I hope you enjoy your
stay.
- Now, let's break the event down to simpler terms.
- That way you will be able to understand what we are
telling pirch to do and it will make it easier later if you want to make your
own events.
- ON JOIN - when someone comes in the channel
- # - the channel you are in, no don't put a
channel name here instead, it is a variable that represents any
channels you are in.
- /notice - sends a notice to the person entering
the channel.
- $nick - an event variable which will automatically put in the
nick of the person entering the channel
- $me - another variable which will insert your nick
- The stuff in pink you can change to your own greeting.
- Auto Goodbye
- This will appear in whatever window the user is in
(i.e. the server, another channel)
- ON PART:#:/notice $nick $me hopes to see you
soon.
- Here the ON PART is telling pirch to send your goodbye message when
they leave the channel.
- Change the text in pink to your own message.
- Auto Greeting when you enter a channel to
all there.
- ON JOINED:#:\-3 12 Hi
Everyone! Great to see you all again!
- An ON TEXT event
- This will automatically put up a reply or statement
when the text that we add to the event is used in the channel. I'm going
to use BRB as the text in the event.
- ON TEXT:*brb*:#:\-2 Sure you will !
- Change the text in pink to your own message.

- Adding sound to an event
- You can add sound to any of these events by placing
this at the end of it, remember to enable events by clicking the box in the
lower right corner, then click save on the bottom of the events window.
- |/playmedia sound.wav
- The stuff in pink is where you would put the
name of the sound you want to play, it must be in your pirch sounds to do this.

- Adding Text Attributes to an event
Remember,
the first time you use an attribute it is enabled, the second time you use it it
is disabled. (example: \-22 $nick \-22) This will put the nick in italics, if
you are adding more after the nick and do not want it to be italisized you place
the second \-22 to turn the italic feature off.
If you are using more than
one attribute you must leave a space in between them
You must also have a
space between any attributes and the variables (i.e. $nick, $time, $day, $date)
- For bold text in an event add \-2 in front of
the text
- To add color to an event place \-3 then a space then
the color number (example: \-3 4Hello Everyone would give you red text)
- For italic text in an event add \-22 in front of the
text
- To underline your text in an event place \-31 in front
of the text
- To use the Fixed System Font in an event add \-17 in
front of the text
- To use the Symbol Font add \-18 in front of the text

CTCP-(Client To Client Protocol)
This is when another user is trying to find out info
about you by sending a probe. Such as:
- PING : You PING somone to find out how long it
takes for a message to get from them to the server. To do this you can type
/PING nick or by using the popup menu.
- VERSION : Tells what irc client you are using and the
version (i.e. pirch16,pirch32)
- CTCP Replies
- While events are useful, they can also be alot of fun.
Let's set up some responses for a PING and a VERSION in the level 000-Unknowns.
- PING:/notice $nick Hey
watch it ! That tickles ! :-)
- VERSION:/notice $nick I'm using
Perch, Oh no, that's a fish isn't it? Oh well, it's something like that.

This section is far from done; I will be adding to it
in the next week. So check back and find out how to create a Friends
level in events.


This page was made possible by
Get your FREE
Homepage today!