Skip to content

Instantly share code, notes, and snippets.

View jasny's full-sized avatar

Arnold Daniels jasny

View GitHub Profile
jasny / magic_8_ball.php
Last active May 11, 2023 11:05 — forked from happy-box/
Simple magic 8-ball game written in PHP
#!/usr/bin/env php
* Magic 8 Ball IRC bot
* Created by Lance Brignoni
* Converted to PHP by Arnold Daniels
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
TABLES=`echo "SHOW TABLES IN $1;" | mysql -NB`