working with array/DIM?

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Shokarta
Posts: 19
Joined: 2010-12-01 08:01:12

working with array/DIM?

Post by Shokarta »

Hey guys... um have a very simple script, just need somebody to help me with that as this is my first time working with DIM. So I would write it in PHP and please help me to put it into yoko scripts

Code: Select all

$count = 0;
$array = array("1234,2345","2341,312"."2341,3214","21341,1324","2313,43431"); // UO COORDINATES

while( count($array) <= $count )
 {
   goto(current($array)); // GOTO is an YOKO sub
   wait(1000)
   lumberjack() // LUMBERJACK is an YOKO sub
   $count++;
 }




thanks :) even if this looks like its dump to script something like this, ill modify it myself to make it works as i wish...

aye the thing is i have a lot of coordinates which id like to add/modify and a lumberjack script... so what i want is that the script GOTO comes on the coordinate, then it will run LUMBERJACK sub, once it finish then it goes to another coordinate,....
Post Reply