How to create script from script builder to plot (log file name) on Tems Discovery?

Could you please help me how to make a new event follow a message appeared ? and plot them to map

Thank you a lot