mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
add option custom user script, otclientrc.lua
This commit is contained in:
12
modules/otclientrc.lua
Normal file
12
modules/otclientrc.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
-- this file use loaded after everything is loaded and initialized
|
||||
-- you can place any custom user code here
|
||||
|
||||
Hotkeys.bind('F1', function() Game.talk('exura gran') end)
|
||||
Hotkeys.bind('F2', function() Game.talk('exori flam') end)
|
||||
Hotkeys.bind('F3', function() Game.talk('exevo flam hur') end)
|
||||
Hotkeys.bind('Ctrl+R', function() runscript('otclientrc.lua') end)
|
||||
|
||||
if rcloaded then
|
||||
print('otclient.rc lua reloaded')
|
||||
end
|
||||
rcloaded = true
|
Reference in New Issue
Block a user