I am playing around and want to create a bunch of wifi networks that if you join them, have no internet access or anything. I have seen an Arduino script for this, but not for the raspberry pi, and I'm not sure how to port a script from the Arduino to a RasPi. Is there any way to achieve this? I am also using raspberry pi os lite on a Raspberry Pi Zero W.
Edit: Original Script