• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient Script to assign Hotkey

Ascuas Funkeln

Rakkedo Game
Joined
Apr 14, 2013
Messages
549
Solutions
32
Reaction score
304
Location
Poland
GitHub
AscuasFunkeln
Hello,

What i need is create in mod window button and when its pressed then script will assign (example: "F1 hotkey by text value")

Already got this
Lua:
function TEST(value)
    currentHotkeyLabel.value = "Attack"
    currentHotkeyLabel.autoSend = true
    updateHotkeyLabel(currentHotkeyLabel)
    updateHotkeyForm()
end
But this will setup hotkey on selected in hotkey window currentHotkeyLabel. And got problem, how to put information into label binded for example F1 key, instead of active "currentHotkeyLabel"?

Any help? :D
 
Back
Top