I do not really know the language php.vot there is a ready-made script but it gives an
1. Error (ID 775) invalid channel flags (Could not create channel)
2.When creating throws on the inscription You Need Wait 10 Seconds To Create Channel Again.
Could you tell me what needs to be fixed?