;______________________________________________________________________
;
; This is a small tutorial, or example file, on how to make themes for eXtreme
; Read carefully, check other themes, and you'll soon be able to create a theme yourself.
;
;______________________________________________________________________
;
;		:::Info header:::

;NAME: <here you type theme's name...one word, max 2>
;AUTHOR: <author>
;EMAIL: <author's email, optional>
;URL: <author's site, optional>
;DESC: <small description, keep in mind that it can't be too big or won't fit in display dialog>


;		:::Settings header:::

[Start]

;*** Required items ***

;4 numbers separated by commas, e.g. 10,4,15,11 ..these numbers represent the script colors for some events (whois, etc)
BaseColors=02,04,12,01

;numbers separated by commas, e.g. 1,-,5,15,-,11,... ..these numbers represent the mirc colors for events
;the order is: background,editbox,editbox text,listbox,listbox text,action,ctcp,highlight,info,info2,invite,join,kick,mode,nick,normal,notice,notify,other,own,part,quit,topic,wallops,whois
;just type //ae $getactualcols in the status and copy/paste the result here
Colors=

;16 RGB numbers separated by commas, e.g. 13072278,-,5719505,9192809,-,2235235,... ..these numbers allow you to change mirc default color boxes, in the specified order.
;if not default, just type //ae $getrgbcols in the status and copy/paste the result here>
;The non-specified box values (-) will be set to default. You can use //ae $_rgb to find out more about RGB values
RGBColors=

;8 numbers separated by commas, e.g. 4,5,2,4,12,14 ...it represents the nickcolours for me,notify,ircop,friends,shitlist,aways,ops,voices. Value 20 is for no colour
NickColors=


;*** Optional items ***

;default left bracket
LB=<
;default right bracket
RB=>

;your script's logo
Prefix=

;you can enter the custom timestamp for your theme. It will only be displayed when the timestamping is enabled
Timestamp=

;general separation line (upper)
Sepline1=
;general separation line (lower)
Sepline2=

;font/size, in the format 'font,size', e.g. 'Verdana,11'. You can add ,b for bold (Verdana,11,b)
FStatus=
FChannel=
FQuery=

;here you can specify one command you want the theme to execute when loaded for the first time
OnLoad=


;		:::Images support:::

;background for status window, in the format 'style file' (style is center, fill, normal, stretch, tile, photo)
ImageStatus=
;background for channel windows
ImageChan=
;background for query, chat, and dedicated message windows
ImageQuery=
;background for main mIRC window
ImageMirc=
;image to use for toolbar
ImageToolbar=
;image to use for toolbar buttons
ImageButtons=
;image to use for switchbar
ImageSwitchbar=


;		:::Schemes support:::

Scheme1=<name>
Scheme2=<name>
;...
;(you can have as many schemes as you want)

[Scheme1]
;(here you can enter any of the above headers, with the same rules. They will override the default, if present)

[Scheme2]
;(same as above)

;...
;______________________________________________________________________
;		:::Alias:::

[aliases]

;filename MUST be smaller than 8 chars, if filename is mytheme.thm, you use theme_mytheme

theme_filename {

;don't change this line
var %item = $1
goto $1

:joinself	| return %::chan
:rejoin		| return %::chan
:servererror	| return %::text
:join		| return %::nick, %::address, %::chan, %::userlevel, %::country
:part		| return %::nick, %::address: address, %::chan: channel, %::text: reason
:quit		| return %::nick, %::address: address, %::text: reason
:mode		| return %::nick, %::address: address, %::chan channel, %::modes: modes
:kickself	| return %::nick, %::address: address, %::knick: knick(you), %::chan: channel, %::text: reason
:kick		| return %::nick, %::address: address, %::knick: knick, %::chan: channel, %::text: reason
:modeuser	| return %::nick, %::modes
:textqueryself	| return %::nick, %::text
:textchanself	| return %::nick, %::chan: chan, %::text: text
:actionqueryself | return %::nick, %::text: text
:actionchanself	| return %::nick, %::text: text
:textmsgself	| return %::nick, %::text: text
:textmsg	| return %::nick, %::address: address, %::text: text
:textquery	| return %::nick, %::address: address, %::text: text
:textchan	| return %::nick, %::address: address, %::chan: channel, %::text: text
:actionquery	| return %::nick, %::address: address, %::text: text
:actionchan	| return %::nick: nick, %::address: address, %::chan: channel, %::text: text
:nickself	| return %::nick: oldnick, %::newnick: newnick
:nick		| return %::nick: nick, %::address: address, %::newnick: newnick
:wallop		| return %::nick: nick, %::text: text
:invite		| return %::nick: nick, %::address: address, %::chan: channel
:topic		| return %::nick: nick, %::address: address, %::chan: channel, %::text: topic
:noticechan	| return %::nick: nick, %::address: address, %::chan: channel, %::text: text
:notice		| return %::nick: nick, %::address: address, %::text: text
:noticeserver	| return %::nick: fromserver, %::text: text
:noticeself	| return %::nick: target (nick/channel), %::text: text
:ctcpself	| return %::nick: target nick, %::ctcp: ctcptype, %::text: extra parameters (for SOUND, etc)
:ctcpchanself	| return %::nick: target channel, %::ctcp: ctcptype, %::text: extra parameters (for SOUND, etc)
:ctcpreplyself	| return %::nick: target nick, %::ctcp: ctcptype, %::text: ctcp reply
:ctcpreply	| return %::nick: nick, %::address: address, %::ctcp: ctcptype, %::text: ctcpreply
:ctcpchan	| return %::chan: chan, %::address: address, %::target: target (channel), %::ctcp: ctcptype
:ctcp		| return %::nick: nick, %::address: address, %::target: target (you), %::ctcp: ctcptype

:notify		| return %::nick: nick, %::address: address
:unotify	| return %::nick: nick, %::address: address

:dns		| return %::nick: nick, %::address: address
:dnsresolve	| return %::nick: nick, %::address: address, %::raddress: resolved address, %::iaddress: $iaddress, %::naddress
:dnserror	| return %::nick: nick, %::address: address, %::iaddress: $iaddress, %::naddress (some won't exist)

;whois
:raw.311	| return $sepline1: separator1, %::nick: nick, %::ident: ident, %::host: host, %::userlevel: level, %::country: country, %::realname: ircname
:raw.307	| return %::nick, %::text: registered nick
:raw.308	| return %::nick, %::text: misc (admin)
:raw.309	| return %::nick, %::text: misc (csop)
:raw.310	| return %::nick, %::text: misc (helper)
:raw.313	| return %::nick, %::text: misc (ircop)
:raw.317	| return %::nick, %::idletime: idle duration in seconds, %::signontime: connect time, %::value: same, but in seconds
:raw.319	| return %::nick, %::chan: channels
:raw.312	| return %::nick, %::wserver: server, %::serverinfo: extra server info
:raw.378	| return %::nick, %::text: misc (real hostname)
:raw.301	| return %::nick, %::away: away msg
:wi.recnicks	| return %::recnicks: recnicks, if any
:raw.318	| return %::nick: nick, $sepline2: separator2

;whowas
:raw.314	| return $sepline1: separator1, %::nick: nick, %::ident: ident, %::host: host, %::userlevel: level, %::country: country, %::realname: ircname
:raw.369	| return %::nick: nick, $sepline2: separator2

;topic
:raw.332	| return %::chan: channel, %::text: topic
:raw.333	| return %::chan: channel, %::nick: nick who set topic, %::text: date (asctime)

;lusers
:raw.250	| return %::text
:raw.251	| return %::text
:raw.252	| return %::text
:raw.253	| return %::text
:raw.254	| return %::text
:raw.255	| return %::text
:raw.265	| return %::text
:raw.266	| return %::text

;names
:raw.353	| return %::chan: channel, %::text: nicks
:raw.366	| return %::chan: channel

;who
:raw.352	| return %::nick, %::address, %::away, %::isoper, %::cmode, %::chan, %::wserver, %::value: hops, %::realname
:raw.315	| return %::value: who query


;*** IMPORTANT!!! the next line IS NEEDED ***
:%item		| return $_display($1)

}

;NOTE: Variables as %::me, %::server and %::port (and %::numeric for raws) are always set.


;			<<IMPORTANT>>
;
;-You DON'T need all lines, the ones you don't use will be set to default display (using your theme's colors).
;-You can add your own aliases/identifiers to this file, but remember to name them with something like themename_bla to avoid conflicts.
;-Be carefull with color codes in text events. When entering a color number, ALWAYS enter 2 digits (00-15).
;
;
;	:::Multi-line display
;
;-For multi-line display, you should do something like:
;
;	:join
;	 %:echo %::nick ( $+ %::address $+ ) joins %::chan %:comments
;	 %:echo %::nick is from %::country
;	 return
;
;This would echo 2 lines instead of 1.
;The only inconvenience using this is with the Theme Editor (such line cannot be edited). But you should use it whenever you find necessary.
;Also, if you choose to control the %:echo, your theme must handle extra %:comments, it should be appended to the end of the line.
;
;---
;
;There are some more identifiers/aliases you can find in other themes, as:
;
; $_fade.nick(nick,colour1,colour2): does that fade effect on nick, with 2 colours (defaults to grey/white)
;
;...etc, just look for them :p
;
;---
;
; Check existing theme files...you'll quickly find out how it works.
; After you make a theme, please send it to me at kall@extreme-script.net
; If I find it suitable, I'll include it in the script (with your permission,
; keeping your credits but changing whatever I find necessary)
;
; Kall (kall@extreme-script.net)
