when we click the button ,It will aotu running the DirectEvent;Can I do something such as :Made a Judgment on server,if ture then run the DirectEvent,Otherwise don't do anything?