<>Fork Conditions if SWITCH 1 is OFF
<>Party Gold + 30 G
<>Message: You got 30 gold!
<>Switch Operations: Switch 1 Turn ON
<>else
<>Message: It's empty
<>end
Or give the event two pages, and what's in the else case on the previous example ends up on the second page
Also, you can't use the same switch for other events like that. Switches are global.
Page 1:
<>Party Gold + 30 G
<>Message: You got 30 gold!
<>Switch Operations: Switch 1 Turn ON
Page 2: Trigger Switch 1
<>Message: It's empty