Ops: random, first, last, all, count, source. Parameters: message, nick, channel (regex); since, until (date-/time range); limit (maximum messages to return; default is 1, unless op=all); type [message (plain+action; default), plain, action, nick, mode, join, part, quit, kick, kill, topic, all]; out [json, php, tab, irc, message, html]; debug (show the query and whatever else)