2012-01-07 22:10:06 +01:00
|
|
|
-- this file use loaded after everything is loaded and initialized
|
|
|
|
-- you can place any custom user code here
|
|
|
|
|
2012-02-08 22:23:15 +01:00
|
|
|
Keyboard.bindKeyDown('F1', function() g_game.talk('exura gran') end)
|
|
|
|
Keyboard.bindKeyDown('F2', function() g_game.talk('exori mort') end)
|
|
|
|
Keyboard.bindKeyDown('F3', function() g_game.talk('exori frigo') end)
|
|
|
|
Keyboard.bindKeyDown('F4', function() g_game.talk('exevo vis hur') end)
|
|
|
|
Keyboard.bindKeyDown('F5', function() g_game.talk('utani gran hur') end)
|
|
|
|
Keyboard.bindKeyDown('F6', function() g_game.talk('exani tera') end)
|
2012-01-07 22:10:06 +01:00
|
|
|
|
2012-01-11 22:24:37 +01:00
|
|
|
local function reload()
|
2012-02-06 05:39:52 +01:00
|
|
|
dofile('otclientrc.lua')
|
2012-01-11 22:24:37 +01:00
|
|
|
TextMessage.displayEventAdvance('Script otclientrc.lua reloaded.')
|
|
|
|
print('Script otclient.rc lua reloaded')
|
2012-01-07 22:10:06 +01:00
|
|
|
end
|
2012-02-06 05:39:52 +01:00
|
|
|
Keyboard.bindKeyDown('Ctrl+R', reload)
|
2012-01-11 22:24:37 +01:00
|
|
|
|
2012-01-08 19:29:41 +01:00
|
|
|
rcloaded = true
|