Xchat::hook_print('Topic Change', sub { Xchat::command('gui color 3'); return Xchat::EAT_NONE; });