margoh
{{ user.title }}
- Joined
- Apr 1, 2013
- Messages
- 807
- Solutions
- 18
- Reaction score
- 355
Hello.
In function
Remove
In function
Tried using already existing
Cheers.
game_console in function online() add at the beginning:
LUA:
if not (g_settings.get('last-logged-character') == g_game.getCharacterName()) then
clear()
end
online() add at the end:
LUA:
-- focus default channel after relogin/death
defaultTab = addTab(tr('Default'), true)
clear() from function offline().game_interface function onGameEnd() add:
LUA:
g_settings.set('last-logged-character', g_game.getCharacterName())
save() add:
LUA:
g_settings.set('last-logged-character', g_game.getCharacterName())
Tried using already existing
last-used-character but it didn't want to work.Cheers.