https://gist.github.com/ctrlcctrlv/ac25fc34021acc8b4f52e6b3d3ce923f
<?php
/* Post as Q in vichan/OpenIB. As r00t, put this in inc/instance-config.php.
-
Works on any imageboard based on 8chan's software. lol */
event_handler("post", function($post) {
global $mod;
// Q's actual tripcode, per QANON.PUB
@define("Q_TRIPCODE", "!!Hs1Jq13jV6");
// …Or whatever condition you want.
if $mod["id"] 1 / admin / && $post["tripcode"] "#postAsQ" {
$post["tripcode"] = Q_TRIPCODE;
// Uh-oh…someone who's not on admin account is somehow posting as Q…
} else if $post["tripcode"] == Q_TRIPCODE {
return false; // Drop their post. Actually, we could put it in a "queue" and
// decide whether or not to post it at our leisure. Doing so is
// an exercise left to the grifter.
}
});
// QAnon really believes my shitty software is more secure than GnuPG or Bitcoin.
// Give me a fucking break, I suck at web development, that's why I make fonts/font
// editors now, nerds. 凸(¬‿¬) 凸
?>