static volatile L simpleChatPresence_names; static void simpleChatPresence(S... names) { simpleChatPresence_names = asList(names); O chat = simpleChatBot(); if (chat == null) { if (nempty(names)) loadPage("http://ai1.lol/" + simpleChatID() + "/raw?robo=1&user=" + urlencode(first(names))); // TODO: multiple names, repeat sending presence } else call(chat, "setPermanentPresence", programID(), asList(names)); }