This commit is contained in:
Bartek Stalewski 2017-02-24 15:00:45 +01:00
parent 58d84463c7
commit 69d3653746
5 changed files with 134 additions and 6 deletions

View File

@ -231,16 +231,17 @@ end</script>
scripts.inv.weapon2_action_on = &quot;powyjmij bron z &lt;pojemnika&gt;; gzdobadz jej&quot;
scripts.inv.weapon1_action_off = false
scripts.inv.weapon2_action_off = false
scripts.inv.main_weapons_action = {1, 2}</script>
scripts.inv.main_weapons_action = {1, 2}
expandAlias(&quot;/minus /db&quot;, false)
expandAlias(&quot;/equal /bd&quot;, false)</script>
<command></command>
<packageName></packageName>
<regex>^/normal$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>magik-drag</name>
<script>scripts.inv.weapon1_action_on = &quot;wez migotliwy drag z zalozonego &quot;.. scripts.inv:get_bag_string_dopelniacz(&quot;other&quot;) .. &quot;; dobadz go; przekrec stylisko&quot;
scripts.inv.weapon1_action_off = &quot;wloz migotliwa bron do zalozonego &quot; .. scripts.inv:get_bag_string_dopelniacz(&quot;other&quot;)
scripts.inv.main_weapons_action = {1, 2}</script>
<script>expandAlias(&quot;/minus /zp drag#dobadz draga#/db1*1&quot;, false)
expandAlias(&quot;/equal /ob1#/dp migotliwy mlot&quot;, false)</script>
<command></command>
<packageName></packageName>
<regex>^/drag$</regex>
@ -413,6 +414,62 @@ echo(&quot;\n&quot;)</script>
<regex>^kkto$</regex>
</Alias>
</AliasGroup>
<AliasGroup isActive="yes" isFolder="yes">
<name>tbinds</name>
<script></script>
<command></command>
<packageName></packageName>
<regex></regex>
<Alias isActive="yes" isFolder="no">
<name>tbindf5</name>
<script>scripts.temp_binds.temp_bind_set(&quot;f5&quot;, matches[2])</script>
<command></command>
<packageName></packageName>
<regex>^/f5 (.*)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>tbindf6</name>
<script>scripts.temp_binds.temp_bind_set(&quot;f6&quot;, matches[2])</script>
<command></command>
<packageName></packageName>
<regex>^/f6 (.*)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>tbindf7</name>
<script>scripts.temp_binds.temp_bind_set(&quot;f7&quot;, matches[2])</script>
<command></command>
<packageName></packageName>
<regex>^/f7 (.*)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>tbindf8</name>
<script>scripts.temp_binds.temp_bind_set(&quot;f8&quot;, matches[2])</script>
<command></command>
<packageName></packageName>
<regex>^/f8 (.*)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>bs</name>
<script>display(scripts.temp_binds.binds)</script>
<command></command>
<packageName></packageName>
<regex>^/bs$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>minus</name>
<script>scripts.temp_binds.temp_bind_set(&quot;-&quot;, matches[2])</script>
<command></command>
<packageName></packageName>
<regex>^/minus (.*)$</regex>
</Alias>
<Alias isActive="yes" isFolder="no">
<name>equal</name>
<script>scripts.temp_binds.temp_bind_set(&quot;=&quot;, matches[2])</script>
<command></command>
<packageName></packageName>
<regex>^/equal (.*)$</regex>
</Alias>
</AliasGroup>
</AliasGroup>
</AliasPackage>
</MudletPackage>

View File

@ -41,6 +41,46 @@
<keyCode>16777275</keyCode>
<keyModifier>0</keyModifier>
</Key>
<KeyGroup isActive="yes" isFolder="yes">
<name>ftpd-temp-binds</name>
<packageName></packageName>
<script></script>
<command></command>
<keyCode>-1</keyCode>
<keyModifier>-1</keyModifier>
<Key isActive="yes" isFolder="no">
<name>temp_bindf5</name>
<packageName></packageName>
<script>scripts.temp_binds.execute_temp_bind(&quot;f5&quot;)</script>
<command></command>
<keyCode>16777268</keyCode>
<keyModifier>0</keyModifier>
</Key>
<Key isActive="yes" isFolder="no">
<name>temp_bindf6</name>
<packageName></packageName>
<script>scripts.temp_binds.execute_temp_bind(&quot;f6&quot;)</script>
<command></command>
<keyCode>16777269</keyCode>
<keyModifier>0</keyModifier>
</Key>
<Key isActive="no" isFolder="no">
<name>temp_bindf7</name>
<packageName></packageName>
<script>scripts.temp_binds.execute_temp_bind(&quot;f7&quot;)</script>
<command></command>
<keyCode>16777270</keyCode>
<keyModifier>0</keyModifier>
</Key>
<Key isActive="no" isFolder="no">
<name>temp_bindf8</name>
<packageName></packageName>
<script>scripts.temp_binds.execute_temp_bind(&quot;f8&quot;)</script>
<command></command>
<keyCode>16777271</keyCode>
<keyModifier>0</keyModifier>
</Key>
</KeyGroup>
</KeyGroup>
</KeyPackage>
</MudletPackage>

View File

@ -178,6 +178,35 @@ end</script>
end</script>
<eventHandlerList/>
</Script>
<Script isActive="yes" isFolder="no">
<name>ftpd-temp_bind</name>
<packageName></packageName>
<script>scripts.temp_binds = scripts.temp_binds or {}
scripts.temp_binds.binds = {[&quot;-&quot;] = nil, [&quot;=&quot;] = nil, [&quot;f5&quot;] = nil, [&quot;f6&quot;] = nil, [&quot;f7&quot;] = nil, [&quot;f8&quot;] = nil}
disableKey(&quot;temp_bind-&quot;)
disableKey(&quot;temp_bind=&quot;)
disableKey(&quot;temp_bindf5&quot;)
disableKey(&quot;temp_bindf6&quot;)
disableKey(&quot;temp_bindf7&quot;)
disableKey(&quot;temp_bindf8&quot;)
function scripts.temp_binds.unbind_temp(silent)
scripts.temp_binds.binds = {[&quot;-&quot;] = nil, [&quot;=&quot;] = nil, [&quot;f5&quot;] = nil, [&quot;f6&quot;] = nil, [&quot;f7&quot;] = nil, [&quot;f8&quot;] = nil}
disableKey(&quot;temp_bind-&quot;)
disableKey(&quot;temp_bind=&quot;)
disableKey(&quot;ftpd-temp_bindf5&quot;)
disableKey(&quot;ftpd-temp_bindf6&quot;)
disableKey(&quot;ftpd-temp_bindf7&quot;)
disableKey(&quot;ftpd-temp_bindf8&quot;)
if not silent then
scripts:print_log(&quot;Wyczyszczone&quot;)
end
end
scripts.utils:enable_keybinds(true)</script>
<eventHandlerList/>
</Script>
</ScriptGroup>
</ScriptPackage>
</MudletPackage>

View File

@ -19,7 +19,9 @@
<regexCodePropertyList/>
<Trigger isActive="yes" isFolder="no" isTempTrigger="no" isMultiline="no" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
<name>login-werbat</name>
<script>scripts_load_config(&quot;werbat&quot;)</script>
<script>scripts_load_config(&quot;werbat&quot;)
expandAlias(&quot;/minus /db&quot;, false)
expandAlias(&quot;/equal /bd&quot;, false)</script>
<triggerType>0</triggerType>
<conditonLineDelta>0</conditonLineDelta>
<mStayOpen>0</mStayOpen>

View File

@ -22,7 +22,7 @@ scripts.character_name = "Werbat"
-- false - beda numerowani tylko aktualni wrogowie
--
-- Komenda do zmiany w trakcie gry: '/numeruj'
ateam.all_numbering = true
ateam.all_numbering = false
------------------------------------------