Insert the following
here and it will create a simple little addon for you.
This should toggle the Minimap every time your character loads in for the first time.
Lua Code:
Minimap:RegisterEvent('PLAYER_ENTERING_WORLD')
Minimap:HookScript('OnEvent', function(self, event, ...)
if event == 'PLAYER_ENTERING_WORLD' then
ToggleMinimap()
self:UnregisterEvent('PLAYER_ENTERING_WORLD')
end
end)