How to use string as event or as time?

In reply to saritr:
You would be better off trying to convert the text file of transactions you are reading directly to SystemVerilog. Or if you have a limited number of events, encoding them into sothing you can branch into a case statement might be feasible.