def install(): hook.register('after-handle_sid_chatevent', on_chatevent)
def install(): parse_settings() hook.register('after-handle_sid_chatevent', message_received)
def content_init(): Log.Info(LOG_TAG, "Registering API hooks..") hook.register(Hook.STARTUP, startup) hook.register(Hook.SHUTDOWN, shutdown) hook.register_exclusive(Hook.PLAYER_AUTHENTICATE, session.player_authenticate) hook.register_exclusive(Hook.PLAYER_LOAD, session.player_load_profile) hook.register(Hook.PLAYER_LOGIN, session.player_login) hook.register(Hook.PLAYER_LOGOUT, session.player_logout) hook.register(Hook.PLAYER_POSITION, player.player_position_update) hook.register(Hook.BUTTON_CLICK, interface.interface_button)
def install(): parse_settings() hook.register('after-handle_sid_chatevent', message_received) hook.register('after-handle_sid_claninvitation', claninvitation_feedback)
def install(): parse_settings() hook.register('after-handle_sid_enterchat', spam_loop)
def install(): hook.register('after-handle_sid_chatevent', message_received)
def install(): parse_settings() hook.register('after-handle_sid_clanmemberlist', got_clanlist) hook.register('after-handle_sid_claninfo', got_claninfo) hook.register('after-handle_sid_clanmemberstatuschange', clannie_statuschange) hook.register('after-handle_sid_clanmemberremoved', clannie_removed)