margoh
{{ user.title }}
- Joined
- Apr 1, 2013
- Messages
- 806
- Solutions
- 18
- Reaction score
- 350
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.