since nothing I tried worked, I dug deaper, at some point I tried writing a bat file "ping.bat" when running the script then it did not go to ping.exe in windows, rather ping.bat in mIRC's folder. I kept seeing that it had the mirc path in the "dos" window and it finally clicked to look for bat files.
after renaming the bat file the alias works but any IP other than 127.0.0.1 times out (pulling hair). Yes I turned off all firewalls.