|
Aennor Apprentice
Joined: 06 Dec 2001 Posts: 131 Location: USA
|
Posted: Fri Jan 18, 2002 8:36 pm
Getting an error #write-ing a file |
I'm pretty sure this is due to special characters in a variable I'm writing to a file... but unsure how to escape the whole line.
Here's the error:
I am creating it with the following script line:
#write @filenum "%1"
What's the proper way to correct this?
TIA for any help.
--
Aennor the Paragon of Gratuitous Agony
Staff on WoTMUD
wotmud.org 2222 |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sat Jan 19, 2002 12:22 am |
Try using #WRITE @filenum %quote("%1"). If you still get the parsing error throw up your hands, sigh loudly, make yourself a drink, and try not to get upset. I have been trying to track down a cause for a similar problem with the DOOR command and still havent figured out what makes it start.
|
|
|
|
Aennor Apprentice
Joined: 06 Dec 2001 Posts: 131 Location: USA
|
Posted: Sat Jan 19, 2002 12:33 am |
Snicker... fair enough. :P
I'll give it a shot later, thanks.
--
Aennor the Paragon of Gratuitous Agony
Staff on WoTMUD
wotmud.org 2222 |
|
|
|
|
|