Well to comment on the code, you do not seem to have multiplayer support correct, there needs to be a
Simba Code:
Players[0].Name := ''; // Username[SIMBA]
Players[0].Pass := ''; // Password
Players[0].Active := True; // True if you are using this player
Players[0].Pin := ''; // Leave blank if the player doesn't have a bank pin
Players[0].Integers[1] := 10000; // Number of loads
[/SIMBA]
for every Player, increasing the [#] by 1 for each.
You also did not call FindNormalRandoms correctly, it should look like this
Simba Code:
if FindNormalRandoms then
if not LoggedIn then
Exit;
If you had wanted to add multiplayer support, then this would be changed from
to
Simba Code:
InPin(Players[CurrentPlayer].Pin);
Also, the place where you freed your DTM's is ineffective, and will eventually lead to a memory build-up, You should call InitDTMs before you do FindDTM, then after you have the location(x,y) of the DTM, call FreeDTMS.
Other than that, great job on your first script!