Auto-translated
WizardNazyr, your code after the message can be described as: `
an infinite loop
{
condition check.
}`. You need to add a sleep function to the loop. Also, it would be better if it runs in a separate thread (it is not clear from the code whether it is wrapped in a thread or not).