LOGOUT_BUTTON_ID = 2458 on :button, LOGOUT_BUTTON_ID do |player| player.logout end