Code:
function c_ship
{
player = my;
my.scale_x = 1.0;
my.scale_y = my.scale_x;
my.scale_z = my.scale_x;
while(1)
{
c_scan(player.x, temp, vector(360, 60, 1000), ignore_me);
wait(-0.25); // we musn't scan every frame; c_scan is too slow for that
}

}



I just took out the IF statement and put in a larger wait value. It scans permanently every quarter second. See if that's more like what you're looking for?