Skip to content

Instantly share code, notes, and snippets.

<?php
define(COOKIE_FILE, "/var/tmp/sn-run");
define(GAME_NUMBER, "5566012476882944");
define(MY_ID, 5); // Player id
touch(COOKIE_FILE);
$allies = array(1,10); // Optional ally ids - disable notifications for these players if it gets too annoying.
$from = $to = "spacenorad@yourdomain.com"; // Notification address