Hi,
you can replace this:
elseif (*#* iswm %join.net) || (*;* iswm %join.net) || (*$* iswm %join.net) || (*^* iswm %join.net) || (*&* iswm %join.net)
with this:
elseif $regex(%join.net,/[#$&^;]/) { ...
To Wolfie: it's not needed to use /g as the regex would continue looking in the string even when matched already (it goes through the whole string trying to find as many matches as possible), while 1 invalid character is already enough to stop the script.
Also it's not needed to capture the characters #$&^; because we only wanna know if theyre in there, without having to know what they are.
But like you, I'm very new to $regex, $regsub, and $regml, so we're all still learning
Greetz