In reply to rahul19190:
Please use code tags making your code easier to read. I have added them for you.
The event triggered method only returns true in the timeslot where the event in triggered. It returns false once time advances. There is a non-blocking event trigger that you can avoid a race between the two initial blogs. It works very similar to a non-blocking assignment.
$display("i am in good pkt");
$display("i am in bd pkt");
$display("i am in ill pkt");