open
includes/functions.php
Find This may be a partial find and not the whole line
Code: Select all
if (!empty($mchat_bot_randtxt[$config_mchat['bot_welcome_id']]))Replace with Replace the preceding lines with the following
Code: Select all
if (!empty($mchat_bot_randtxt[$config_mchat['bot_welcome_id']]) && $user->data['user_lastvisit'] == 0 && $user->data['user_new_privmsg'] == 0 && $user->data['user_last_privmsg'] == 0)