.
This commit is contained in:
parent
58d84463c7
commit
69d3653746
5 changed files with 134 additions and 6 deletions
29
scripts.xml
29
scripts.xml
|
@ -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 = {["-"] = nil, ["="] = nil, ["f5"] = nil, ["f6"] = nil, ["f7"] = nil, ["f8"] = nil}
|
||||
disableKey("temp_bind-")
|
||||
disableKey("temp_bind=")
|
||||
disableKey("temp_bindf5")
|
||||
disableKey("temp_bindf6")
|
||||
disableKey("temp_bindf7")
|
||||
disableKey("temp_bindf8")
|
||||
|
||||
function scripts.temp_binds.unbind_temp(silent)
|
||||
scripts.temp_binds.binds = {["-"] = nil, ["="] = nil, ["f5"] = nil, ["f6"] = nil, ["f7"] = nil, ["f8"] = nil}
|
||||
disableKey("temp_bind-")
|
||||
disableKey("temp_bind=")
|
||||
disableKey("ftpd-temp_bindf5")
|
||||
disableKey("ftpd-temp_bindf6")
|
||||
disableKey("ftpd-temp_bindf7")
|
||||
disableKey("ftpd-temp_bindf8")
|
||||
|
||||
if not silent then
|
||||
scripts:print_log("Wyczyszczone")
|
||||
end
|
||||
end
|
||||
|
||||
scripts.utils:enable_keybinds(true)</script>
|
||||
<eventHandlerList/>
|
||||
</Script>
|
||||
</ScriptGroup>
|
||||
</ScriptPackage>
|
||||
</MudletPackage>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue