
Originally Posted by
drag2270
I have a question. What if i want to make a if statement? Like i have one procedure that can run if somthing happens
like if my character logs out i log it back in using that procedure and it continues doing whatever its doing
Simba Code:
if not (isLoggedIn()) then
begin
players[currentPlayer].login();
recoverFromLogout(); //This would ideally be a routine that opens
//the backpack, sets the camera, normal stuff
//that you'd do upon logging in to prepare for
//the script's run.
end;