If i want to a loaded script, using $script(1), it always returns with spaces in the file path ie: C:\Program Files\mIRC\scripts\miss.mrc. If you write to it it would write to program... so i guess my question is, is their a way to return without spaces, or know of a way around it?
Thanks ahead of time.
im not sure what you want but... it sounds like you should try this
"C:\Program Files\mIRC\scripts\miss.mrc"
make sure when u tell them that u emphasis the "quotes" around the path name ..... putting the quotes around it is what makes it work using spaces ...... just thought id add alil more info to ur help .........
I took it that he meant " $+ $script(1) $+ "
i would think thats it if your path to ur script is in a folder with a space in the name
if you are writing to the file miss.mrc and it is within the mirc folder you dont need the full path anyhow ? just /write blah.txt or /write miss.mrc etc .
See, its assuming that I dont know the name of the script though
$shortfn() converts a long filename into old dos 8.3 format
C:\Program Files\mIRC => C:\Progra~1\mIRC