How to exit/end event script early?

if a == 1:
   # send message to user, wrong number
   return
if b == 2:
   # send message, wrong number
   return

# Otherwise ...

Note well the use of the == equivelance operator rather than the = set operator. There's a big difference.

1 Like