uhm iam not the advanced coder, but whats about this:
function main()
{
wait(-3);beep();
login_check = login_check_new;
if(connection == 2)
{
send_var(login_check);
}
}


A7 Commercial.