Author Topic: 4 x 4 Fishing using a boat  (Read 3064 times)

0 Members and 1 Guest are viewing this topic.

Offline CrisisTopic starter

  • Global Moderator
  • *
  • *
  • Posts: 2998
  • Activity:
    3.4%
  • Reputation Power: 41
  • Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.
  • Gender: Male
  • Scripting well enough to break things!
  • Referrals: 2
    • View Profile
4 x 4 Fishing using a boat
« on: October 17, 2021, 02:10:58 PM »
From davethemage of UO Excelsior

Code: [Select]
function fishing()
{
while(true)
{
for (var x = -4; x <= 4; x=x+8)
{
for (var y = -4; y <= 4; y=y+8)
{
Orion.EquipT('0x0DC0');
Orion.UseType('0x0DC0', '0xFFFF');
if (Orion.WaitForTarget(1000))
{
Orion.TargetTileRelative('water', x, y, 4);
Orion.Wait('7500');
}
if (Orion.InJournal("biting here", 'my|sys' ,0, any, 0, 0))   
{
Orion.Print("fishes all gone");
Orion.ClearJournal();
Orion.Say('forward');
Orion.Wait('7500');
Orion.Say('stop');
}             
}
}
}
}
« Last Edit: October 17, 2021, 02:14:00 PM by Crisis »

Tags: