safe logout
Posted: Mon Apr 07, 2008 5:18 am
how detect when character make logoff and logoff/disconect char in exact moment? i think make area for this...
any idea?
Thanks,
any idea?
Thanks,
ncrsn wrote:I understood you wanted to make logout instant (in various cases) without character staying in the world after player has left the game.
IF that's the case, this is the script you are looking for: http://docs.polserver.com/pol097/script ... fftest.ecl. It has exists since POL087C I think, so you can likely use it.
IF that's not what you wanted, you can stop reading now.
Code: Select all
use uo;
include "include/findcity";
program logofftest( character )
if (character.cmdlevel) > 0
return 0;
elseif(findcity(character) == "Cove")
return 0;
else
return 300;
endif
endprogram