You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 10, 2021. It is now read-only.
$class='./php.omegle.php'; // Path to Omegle connection class.
require($class);
$bot = new OmBot();
// New instance of the bot.
$bot->name = "AntiSEPbot"; //Bot Name
// Name of the bot.
$bot->idle_timeout = true;
// Timeout and disconnect if Stranger stops talking.
$bot->idle_seconds = 15;
// How long to wait before idle_timeout.
$bot->conn();
while (1)
{
$bot->call_handler();
if ($bot->connected && $bot->newConn) // Stranger is on the other end and it's a new connection. Useful if you want to send the initial message.
{
$bot->newConn = false;
$bot->s_msg("Hello! Remember, pornography is contraband and illegal in the US, so DO NOT be tempted by the Omegle bots. Thank you"); //First message to send to the new connection
}
if ($bot->newMessage) // We got a new message!
{
$bot->newMessage=false; // We're handling it. It's no longer new to us.
$bot->s_msg("Ok, sounds good."); // Sending back the contents of the last message.