didnt test it but you cold do it like this

Code:

action test_touch
{
while(my!=null)
{
if(my.skill5 ==1)
{
breakpoint;
my.skill5 =0;
}
wait(1);
}
}

function mouskill()
{
while(1)
{
if(mouse_right == 1)
{
if(mouse_ent)
{
you.skill5 = 1;
}
}
wait(1);
}
}

function main
{
//lvl_load and mouse settings
mousekill();
}




"empty"