That's easy for joining random hotspots, yeah. But for a more stable setup, wpa_supplicant is excellent. I have a config that prefers my home network (which is EAP-TLS secured, how does ifconfig on OpenBSD handle that?), then mobile hotspot, then a couple other known networks. It automatically decides the best network to use.