random input

Hi there,

This is a code how to make random input in imacros for 1 input{{fruit}} I need to know how can I make 3 inputs random like {{fruit2}} {{fruit3}} {{fruit3}}

PHP Code:


myfruits = new Array();
myfruits.push("Strawberry");
myfruits.push("Banana");
myfruits.push("Kiwi");
myfruits.push("Orange");
myfruits.push("Mango");

for(i=0;i<10;i++) 
{
   
randomint Math.floor(Math.random()*myfruits.length);
   

    iimSet("fruit",myfruits[randomint]); 




View full post on Tycoon Talk

,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved