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

@ -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>