Yes. It will work in both cases. You can do it as you prefer, in one or several lines of code.
For a beginner script coder this is normal and will be the simplest and most understandable solution in the order of actions :-)


🌐 https://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples