whoops.. don't do it like that or you'll propably end up crashing your ofp.
a proper script would be
#start
?!(alive helo1): exit
helo1 setfuel 1
~500
goto "start"
what does it do?
#start is a bookmark for the script
?!(alive helo1): exit checks if the chopper is not alive, and if so, then it exits the script so it won't run on the background for nothing.
helo1 setfuel 1 sets the maximum amount of fuel to helo1
~500 makes the script wait for 500 seconds untill it continues. In other words, it'll take 500 seconds for the chopper to be refueled again.
goto "start" makes the script go to a bookmark called start. In other words, goes to the begining of the script where everything starts all over again
Oh, and btw, you shoul visit our Editors Depot. There's some amazing tutorials in there which are VERY USEFULL