Yoko

All sides of Injection
It is currently 2024-03-29 16:37:33

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: working with array/DIM?
PostPosted: 2010-12-14 07:51:11 
Offline

Joined: 2010-12-01 08:01:12
Posts: 19
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:
$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,....


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited