Logout if player on floor under + Safe List
Const
  PlayerSafe = ['Player1','Player2','Player3'] // add players as many as you want.

while not terminated do
begin
  UpdateWorld;
  For G:= 0 to Creatures.Count -1 do
  begin
    for i:= Low(PlayerSafe) to High(PlayerSafe) do
    begin
       If Creatures.Creature[G].Z = Self.Z + 1 then
       If Creatures.Creature[G].Name = PlayerSafe[i] then
       Self.Logout(true);
       Sleep(100);
    end;
    sleep(100);
  end;
  sleep(100);
end;
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License