Thanks, John. Your arcade hack works great

...
I'm modifying an Original post by futureal about the Who's Online modification for this Arcade hack:
In online.php, find:
PHP Code:
case 'spider':
$userinfo[where] = "Search Engine Spider";
break;
and right above it, add:
PHP Code:
case 'arcade':
$userinfo[where] = "Viewing <a href='arcade.php'>Main Arcade</a>";
break;
case 'tetris':
$userinfo[where] = "Playing <a href='arcade.php?action=play&game=tetris'>Tetris!</a>";
break;
case 'snake':
$userinfo[where] = "Playing <a href='arcade.php?action=play&game=snake'>Snake!</a>";
break;
case 'spaceinvaders':
$userinfo[where] = "Playing <a href='arcade.php?action=play&game=spaceinvaders'>Space Invaders!</a>";
break;
case 'pacman':
$userinfo[where] = "Playing <a href='arcade.php?action=play&game=pacman'>Pac Man!</a>";
break;
then find:
PHP Code:
case '/robots.txt':
$userinfo[activity] = 'spider';
break;
and right above it, add:
PHP Code:
case 'arcade.php':
if ($token1 == 'action=play' && $token2 == 'game=pacman') {
$userinfo[activity] = 'pacman';
} else if ($token1 == 'action=play' && $token2 == 'game=snake') {
$userinfo[activity] = 'snake';
} else if ($token1 == 'action=play' && $token2 == 'game=spaceinvaders') {
$userinfo[activity] = 'spaceinvaders';
} else if ($token1 == 'action=play' && $token2 == 'game=tetris') {
$userinfo[activity] = 'tetris';
} else {
$userinfo[activity] = 'arcade';
}
break;