For future scripting Stoneharry, when yuo have an IF query in your funtion, you need a double end
function...
...
..
end
function...
if ...
...
end (this closes the IF)
end (this closed the FUNCTION)
ACD
For future scripting Stoneharry, when yuo have an IF query in your funtion, you need a double end
function...
...
..
end
function...
if ...
...
end (this closes the IF)
end (this closed the FUNCTION)
ACD