This commit is contained in:
Bartek Stalewski 2017-03-02 13:36:34 +01:00
parent 9eb2b8696f
commit a1714c2510
4 changed files with 93 additions and 62 deletions

View file

@ -121,8 +121,11 @@ end</script>
<packageName></packageName>
<script>function scripts.utils.bind_functional(command, silent)
scripts.utils.functional_key = command
cecho(&quot;\n\n&quot; .. scripts.ui.bind_color .. &quot;bind &lt;yellow&gt;]&quot; .. scripts.ui.bind_color .. &quot;: &quot; .. command .. &quot;\n\n&quot;)
raiseEvent(&quot;playBeep&quot;)
if not silent then
cecho(&quot;\n\n&quot; .. scripts.ui.bind_color .. &quot;bind &lt;yellow&gt;]&quot; .. scripts.ui.bind_color .. &quot;: &quot; .. command .. &quot;\n\n&quot;)
raiseEvent(&quot;playBeep&quot;)
end
end
function scripts.utils.bind_ship(command, if_locate, silent)