Try this:

Code:

action bullet
{
....
myFunction(you)
....
}

function myFunction(ent)
{
ent = my;
while(my)
{
if(my._fireflag)
....