reuse icons and blbs to remove some content
This commit is contained in:
@@ -6,8 +6,9 @@ end
|
||||
return function(gate, argv)
|
||||
if argv[1]=="\\:" then argv[1] = ";" end
|
||||
|
||||
local keycode = keyboard_keyToCode[argv[1]] or keyboard_keyToCode["invalid"]
|
||||
local status = keyboard_strToBool[argv[2]]
|
||||
local keycode = keyboard_keyToCode[argv[1]]
|
||||
if not keycode then return end
|
||||
local status = argv[2]=="1"
|
||||
|
||||
local code = keycode+(status and 128 or 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user