_num = 5
_count = 0
#script
;my script goes here
hint "1"
~1
_count = _count + 1
?(_count == _num):goto "stop"
exit
#stop
hint "error, you can only activate this 5 times!"
--------
ok problem is....... i dont want the script to exit, nor do i want it to reppeat from #script, i need to sorta make it stop dead and wait until the user requests the script again, then it can go to #script and run down again. any ideas???