<bedican>
	<config>
		<!-- Used to config the global app -->
		<browser>1</browser>
		<panel>0</panel>
	</config>
	<listener>
		<config>
			<!-- Used to config the listener app -->
			<startup>1</startup>
			<ping>1</ping>
			<log>1</log>
			<user_prefix>/</user_prefix>
		</config>
		<autoexec>
			<!-- Autoexec entries call the user defined commands of the given trigger upon starting the compass -->
			<com>talk</com>
			<com>sndzones</com>
		</autoexec>
		<!-- The triggers of all user defined commands require the prefix of "/" because: /bedican/listener/config/user_prefix = / -->
		<user_defined>
<!-- A sample command of type var, also demonstrating the use of a default parameter from the trigger "zones":
	
Typing "/zones 1" will set showOtherZones to 1
Typing "/zones 0" will set showOtherZones to 0
Typing "/zones" will set showOtherZones to 1, this is due to the default parameter being included and being 1 -->
			<com>
				<type>var</type>
				<trigger>zones</trigger>
				<do>
					<var>showOtherZones</var>
					<value>$1</value>
					<default>
						<param id="1">1</param>
					</default>
				</do>
			</com>
<!-- A sample command of type var, also demonstrating a no parameter command from the trigger "sndzones":
			
Typing "/sndzones" will set showSoundZones to 1 -->
			<com>
				<type>var</type>
				<trigger>sndzones</trigger>
				<do>
					<var>showSoundZones</var>
					<value>1</value>
				</do>
			</com>
<!-- A sample command of type web from the trigger "skypaz":
			
Typing "/skypaz" will open a browser with the location of http://www.roonster.biz/skypaz/index.php -->
			<com>
				<type>web</type>
				<trigger>skypaz</trigger>
				<do>
					<url>http://www.roonster.biz/skypaz/index.php</url>
				</do>
			</com>
<!-- A sample command of type web, also demonstrating the overriding of a predefined command with the trigger "web" and the use of a default parameter:
			
This command will only override the predefined command of the same trigger due to the user defined command prefix being the same as the predefined command prefix

Typing "/web {url}" will open a browser with the given {url}
Typing "/web" will open a browser with the location of http://info.there.com -->
			<com>
				<type>web</type>
				<trigger>web</trigger>
				<return>brb, I have a browser over my face. Ouch !</return>
				<do>
					<url>$1$2</url>
					<default>
						<param id="1">http://info.there.com</param>
					</default>
				</do>
			</com>
<!-- A sample command of type alias from the trigger "paz":
			
Typing "/paz" results in the same as typing the predefined command of "/mart" and parameters are carried through the conversion -->
			<com>
				<type>alias</type>
				<trigger>paz</trigger>
				<do>
					<convert>mart</convert>
				</do>
			</com>
<!-- A sample command of type echo from the trigger "talk":
			
Typing "/talk" results in the return text being sent to the main window -->
			<com>
				<trigger>talk</trigger>
				<return>Hey, Im just logging in, I may not see your text yet !!</return>
			</com>
<!-- A sample command of type tel, also demonstrating return text from the trigger "home":
		
Typing "/home" results in the teleportation to the given doid and return text being sent to the main window -->
			<com>
				<type>tel</type>
				<trigger>home</trigger>
				<return>Teleporting ...</return>
				<do>
					<doid>123456789</doid>
				</do>
			</com>
<!-- Two sample commands of type var, demonstrating multiple commands of the same trigger and the use of default parameters, using the trigger "smap":
			
Typing "/smap 1" will set both hostHud and trendSec to 1
Typing "/smap 0" will set both hostHud and trendSec to 0
Typing "/smap" will set both hostHud and trendSec to 1, this is due to the default parameter being included and being 1 (the default params can be different if desired) -->
			<com>
				<type>var</type>
				<trigger>smap</trigger>
				<do>
					<var>hostHud</var>
					<value>$1</value>
					<default>
						<param id="1">1</param>
					</default>
				</do>
			</com>
			<com>
				<type>var</type>
				<trigger>smap</trigger>
				<do>
					<var>trendSec</var>
					<value>$1</value>
					<default>
						<param id="1">1</param>
					</default>
				</do>
			</com>
		</user_defined>
	</listener>
	<msgbar>
		<config>
			<startup>0</startup>
		</config>
	</msgbar>
</bedican>
