Tim Dobson
03-25-2011, 06:19 PM
noob question from me now... i have a script that gets the lines off a php file that are on seperate lines... it gets the lines fine and displays them correctly only what i want to do is only get 10 lines and when its at the 10th line i need it to stop...
here is my function
function listScripts(userobj, lines)
{
for (i = 0; i < lines.length; i++)
{
tmp = lines[i].split("\n");
print(userobj, "\x0305Template: \x0302" + tmp[0]);
}
}
here is my function
function listScripts(userobj, lines)
{
for (i = 0; i < lines.length; i++)
{
tmp = lines[i].split("\n");
print(userobj, "\x0305Template: \x0302" + tmp[0]);
}
}