newevent
Functions
NewCommandEvent
NewEvent