Plugin while loop

Can i use while loop in plugins script ?

Sure, give it a try

Event_loop
Did the job, thanks