mirror of
https://github.com/redstrate/Kawari.git
synced 2025-06-30 11:47:45 +00:00
Scripts are normally loaded when they are needed, with the exception of Global.lua that's only loaded once at start-up. But now you can reload it in-game with the !reload command, which should make event and command scripting way less of a hassle.
6 lines
141 B
Lua
6 lines
141 B
Lua
required_rank = GM_RANK_DEBUG
|
|
|
|
function onCommand(args, player)
|
|
player:reload_scripts()
|
|
player:send_message("Scripts reloaded!")
|
|
end
|