IRCraft Away Solo Lite 
By DarkHalf
Part of my upcoming IRCraft Full Script


Installing:

Use /load -rs _pathtofile_/g_away.mrc
The addon can be put anywhere, as all references are $scriptdir,
I have it in mircdir/ircraftaway


Use:

Configurer:
 To show the configurer, find the IRCraft Away menu on the commands
 menu. Then select Configure. The configurer dialog will show.
 
 At the top left of the dialog is the check box which allows you to
 toggle the entire addon, on or off. Checked is On
 
 The frame slighty below this check box is the On Away section.
 The check oxes in here allow you to select whether or not you wish
 the addon to perform the actions, when u set away. Thses are better
 described below.
 
 The frame on the right contains the same things, but for when you
 set back.
 
 The third frame, "Auto Away", allows you to select options, which allow
 your mIRC client to automatically set itself away, when you are idle
 (when mIRC is unused) for the specified time. I recommend 30 minutes.
 The silent check box, allows you to make youself set away, without
 sending a message, but only when your set away automatically.
 Halt triggers allows you to stop any triggers being fired, if your
 set away automatically. Triggers are described later in this file.

Send Message:
 To configure the Send Message system, click the configre button next
 to the check box. This shows the configure dialog.

 On the top left is the Frame, allowing you to select the message type;
 Action sends the text as a /me, that is a description, such as it would
 appear: 
   * DarkHalf is away [food] 16:30:02
 Speech sends the text as a /say, that is, as normal speech, so it would
 appear:
   <Darkhalf> I am now away [food] 16:30:02
 So you need to be careful how you pick your words, to make sure the
 away message doesnt look odd. :)

 The next frame allows you to choose exactly where u send your message.
 Channels will send it to all the channels you are on. Queries will send
 the message to all open query windows. DCC Chats will send it to all
 dcc chat windows (including fserves :(, which means this may not be
 right for you).

 The third frame is the preferences for the away message system. The check
 box marked Repeaeat Message, when checked will repeat your away message
 periodically, after the time you have specified. Send CTCP AWAY event is
 the support for the MS Chat Client, which marks you with a coffee cup by
 your name, when your away.

 The final Frame, marked Design, allows you to select the text that you
 are going to send as your message. Choose carefully.

Change Name:
 To configure the Change system, click the configre button next
 to the check box. This shows the configure dialog.

 The top frame shows you the pre-defined (or built in) name desgins. To
 view/use these, click the combo box and then navigate the list by
 scrolling, select one buy clicking it. To use it, click the Use Predefined
 button.

 The lower frame allows you to define your own name. Simply type it in and
 then click the Use Custom button. The text below shows you some replacebles
 which can be used.
 
Fire Triggers:
 To configure the Trigger system, click the configre button next
 to the check box. This shows the configure dialog.

 The dialog is not too dis-similar to that used in my TitleBar pro addon.
 The items in the list box are Triggers. Triggers are small commands which
 automatically executed when you set away, and hence this is probably more
 helpful to mpeople who have had scripting experiance, and an understanding
 of how they work.
 The fields on the right allow you to view a triggers parameters, by
 highlighting it, Also by filling in these fields, you can add new
 triggers, or overwrite/edit an existing one.
 The fire now button will allow you to force fire the selected trigger,
 helpful for testng purposes.
 The /\ Button allows you to move the selected trigger up one space, as
 the order of execution flows down the list.
 The \/ Button allows you to move the selected trigger down one space.

 Finaly theyres the Prefs sub frame, which contains a text box allowing you
 to specify the minimum wait between trigger firings (*** UnImplimented***
 Triggers currently fire as soon as the previous one completes)


Any greyed out items are those which need the rest of the ircraft script to
work, unless you want to right in support for your own stuff :)

Away and back events are completly independant of each other.


Known Issues:
This is unlikely to function correctly with a full script, if you are using
one, it may be possible to disable your full scripts away system and use this,
but it will vary depending on how badly written the full script is :)
Triggers can sometimes bugger up if you have a lot of them.
The away system occasionaly becomes confused, I duno why yet :/

Feedback:

EMail: DarkHalf@gamesinferno.com
Web:   http://www.sitesinferno.com/darkhalf/ircraft/
IRC:   irc.quakenet.eu.org #help | irc.gamesinferno.com #gamesinferno #giadmins #csinferno
ICQ:   40528162

Thanks :)

14:35:07 13/09/00