Change these:
Code:
if ((get_user_flags(id) & ADMIN_LEVEL_B) && equal(g_voice_status,"1")) set_speak(id, 4)
To
Code:
if ((get_user_flags(id) & ADMIN_LEVEL_B) && equal(g_voice_status,"1") && is_user_connected(id)) set_speak(id, 4)
That probably won't do it, as get_user_flags checks if they're online anyway, but it doesn't hurt to try.
__________________