steamlug-bot

The all purpose #SteamLUG IRC bot. This program is free software: you can redistribute it and/or modify it under the terms of the zlib License.

Download

version 0.56

Note: For versions newer than 0.56, see GitHub.

Newer versions check for silently dropped connections:
-----
$currenttime = $lastping = time();
while ((feof ($GLOBALS['socket']) == FALSE) && ($currenttime < ($lastping + 360)))
-----
} else if ($ex[0] == 'PING') {
	$lastping = $currenttime;
-----
	fclose ($GLOBALS['socket']);
	$GLOBALS['socket'] = FALSE;
} while (1);
-----