Function OnLogin(player)
If player:(field in database - players.onlinetime) < 1 and player:(field in database - accounts.VipC) ~=1 then
player:addVipdays(days)
player: CHANGE(field in database - accounts.VipC) to 1 -- (thats i'll use to check in next login to do not dup bonus days)
player: MSG informative
else
player:msg informative
end