From 341d290321b1fc098f54f7915d49c0a3ca9cf298 Mon Sep 17 00:00:00 2001
From: Zoey76 <zoey_76@msn.com>
Date: Sun, 29 Jun 2014 03:50:22 +0000
Subject: [PATCH] BETA: Disabling macro example by default.

Reported by: St3eT
---
 L2J_DataPack_BETA/dist/game/data/stats/initialShortcuts.xml | 2 +-
 L2J_DataPack_BETA/dist/game/data/xsd/initialShortcuts.xsd   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/L2J_DataPack_BETA/dist/game/data/stats/initialShortcuts.xml b/L2J_DataPack_BETA/dist/game/data/stats/initialShortcuts.xml
index bedff6c87b..4da5f6ec48 100644
--- a/L2J_DataPack_BETA/dist/game/data/stats/initialShortcuts.xml
+++ b/L2J_DataPack_BETA/dist/game/data/stats/initialShortcuts.xml
@@ -43,7 +43,7 @@
 	<!-- Macro presets -->
 	<macros>
 		<!-- Macro example with multiple commands. -->
-		<macro macroId="10000" icon="1" name="Macro name" description="This is a test." acronym="HI!"> <!-- Macro ID must be over 1000, use higher values to avoid conflicts with already existing macros. -->
+		<macro macroId="10000" icon="1" name="Macro name" description="This is a test." acronym="HI!" enabled="false"> <!-- Macro ID must be over 1000, use higher values to avoid conflicts with already existing macros. -->
 			<command type="SKILL" skillId="1177" skillLvl="1" /> <!-- To define a skill always include skill ID and level. -->
 			<command type="DELAY" delay="5" /> <!-- To define a delay always define the time in seconds. -->
 			<command type="TEXT">/loc</command> <!-- To define a command, just include the string as if it was typed in-game. -->
diff --git a/L2J_DataPack_BETA/dist/game/data/xsd/initialShortcuts.xsd b/L2J_DataPack_BETA/dist/game/data/xsd/initialShortcuts.xsd
index df10f01548..0c0f095674 100644
--- a/L2J_DataPack_BETA/dist/game/data/xsd/initialShortcuts.xsd
+++ b/L2J_DataPack_BETA/dist/game/data/xsd/initialShortcuts.xsd
@@ -97,6 +97,7 @@
 									<xs:attribute type="xs:string" name="name" use="required" />
 									<xs:attribute type="xs:string" name="description" use="optional" />
 									<xs:attribute type="xs:token" name="acronym" use="required" />
+									<xs:attribute type="xs:boolean" name="enabled" use="optional" />
 								</xs:complexType>
 							</xs:element>
 						</xs:sequence>
-- 
GitLab