Create a notify function that can register a list of functions and will call them on a command
Create a notify function that can register a list of functions and will call them on a command