mIRC Home    About    Download    Register    News    Help

Print Thread
#18518 08/04/03 06:42 PM
Joined: Jan 2003
Posts: 108
H
Vogon poet
OP Offline
Vogon poet
H
Joined: Jan 2003
Posts: 108
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.

#18519 08/04/03 07:43 PM
Joined: Mar 2003
Posts: 437
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
im not sure what you want but... it sounds like you should try this
"C:\Program Files\mIRC\scripts\miss.mrc"

#18520 08/04/03 08:38 PM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
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 .........


D3m0nnet.com
#18521 08/04/03 09:58 PM
Joined: Jan 2003
Posts: 108
H
Vogon poet
OP Offline
Vogon poet
H
Joined: Jan 2003
Posts: 108
I took it that he meant " $+ $script(1) $+ "

#18522 08/04/03 10:18 PM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
i would think thats it if your path to ur script is in a folder with a space in the name


D3m0nnet.com
#18523 08/04/03 11:50 PM
Joined: Dec 2002
Posts: 332
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
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 .

#18524 09/04/03 01:01 AM
Joined: Jan 2003
Posts: 108
H
Vogon poet
OP Offline
Vogon poet
H
Joined: Jan 2003
Posts: 108
See, its assuming that I dont know the name of the script though smile

#18525 09/04/03 03:04 PM
Joined: Mar 2003
Posts: 31
G
GBX Offline
Ameglian cow
Offline
Ameglian cow
G
Joined: Mar 2003
Posts: 31
$shortfn() converts a long filename into old dos 8.3 format

C:\Program Files\mIRC => C:\Progra~1\mIRC


Link Copied to Clipboard