if (rand(0, 5) == 5) {
mysql_query("INSERT INTO `your_chat_room` SET `text`='YOUR CHOSED JOKE', `author`='YOUR BOTNAME'");
}
This is for example, I just do not know the structure of the
table and field names in it.
if (rand(0, 5) == 5) {
mysql_query("INSERT INTO `your_chat_room` SET `text`='YOUR CHOSED JOKE', `author`='YOUR BOTNAME'");
}
This is for example, I just do not know the structure of the
table and field names in it.