;************************************
;
; Tutorial for .srv files
; for eXtreme v9.0
; by Kall (kall@extreme-script.net)
;
;************************************
;
;The filename should be [network_name].srv
;To find out the network name type //echo -a $_network in the status window while connected to it
;If this tutorial is not enough, check other .srv files


[Sets]

;Here you enter the network name
Network=PTnet

;The filename that contains the popups for the network (can be this file)
Popups=PTnet.srv

;Services nicks, such as 'nickserv', etc (separated by commas)
Serv.nicks=Nickserv,Chanserv,Helpserv,Opserv,Sockserv,Memoserv

;Services sites, can be more than one, separated by commas
Serv.sites=PTnet.org

;Maximum modes (+ooo nick1 nick2 nick3 ..) allowed, '3' should work for all networks
Max.modes=3

;Maximum nicks per kickline, as KICK # nick1,nick2,... (if you don't know, enter '1')
Max.kicks=1

;Maximum nicks per notice/msg/ctcp/etc (again, if you don't know, enter '1')
Max.events=3

;Usual clonemask is '2', but if your network uses virtual ips it can be different
Clonemask=2

;Enter '1' for on join, '2' for on op
IALupd=2

;Enter '0' for never, '1' for on connect, '2' for on notice
Log.Event=2

;Enter '1' if services require /msg <service> instead of /<service>
Log.Msgserv=0

;Request-ID notice wildmask, such as *nickname registered and protected*
Log.String=*nick registado e protegido"

;Notice received if password correct
Log.String-Correct=*password aceite*

;Notice received if password incorrect
Log.String-Incorrect=*password incorrecta*

;The command used in the network to login (use <me> for your nick, and <pass> for the pass, or user pass)
Log.command=identify <pass>

;Who made this
Author=Kall

;If any more reference, or if based on another .srv
Credits=

;PS: You don't need ALL the settings

;--- Popups ---

menu status {
-
$iif($_network == <network name>,$ifmatch)
.here you enter status popups
.blabla:ns info bla
.test
..test1:echo -a bla

}

menu channel {
-
$iif($_network == <network name>,$ifmatch)
.here you enter channel popups
}

menu query {
-
$iif($_network == <network name>,$ifmatch)
.here you enter query/chat popups
}

menu nicklist {
-
$iif($_network == <network name>,$ifmatch)
.here you enter nicklist popups
}

menu menubar {
-
$iif($_network == <network name>,$ifmatch)
.here you enter menubar popups
}

;PS2: DON'T change/remove the $iif(... line
;only replace the <network name> with your network
;EOF