I write them like this popup("text I want", "title", False, False)
you can also just write popup("text I want") if you don't care about it not blocking execution of the program.
If you you care about blocking then you have to write popup("text I want","title", False,False,True). The last one is the blocking command. You can also use the word blocking
I write them into pretty much every program without issue.

Can you post up the code please.

Glad you were able to find the issue
Hi,
I'm training with URScript but I can't use the popup function.
I've write : popup("Positionner robot (1)",title="Popup",warning=False,error=False)
But everytime the programme try to do this line, I got an error message that said that there a communication problem and that the communication with the controller is lost. Then the UR shuts down and I must re-initialise the arm.
Tanks for your answer.
PS : Sorry for my bad English.