|
Dimension Newbie
Joined: 17 Sep 2004 Posts: 2
|
Posted: Fri Sep 17, 2004 11:22 am
Echoing a text file |
I'm having the darnedest time trying to figure this out.
I just like to echo a text file to the mud screen. I don't want to send any commands, I just want the text displayed in an echo.
Thanks for your help. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Sep 17, 2004 12:50 pm |
#TYPE 1
|
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
Dimension Newbie
Joined: 17 Sep 2004 Posts: 2
|
Posted: Fri Sep 17, 2004 3:36 pm |
thanks
its more like
#file 1 readme.txt
#type 1
but I figured it out... I just thought there would be a dedicated command.
kinda like #send |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Sep 18, 2004 3:56 pm |
Since I showed the #TYPE command referring to a filenumber, rather than a filename, I didn't think you'd need to be told to open the file.
There is a dedicated command, #TYPE. There just isn't one that allows you to use a filename. Of course, you could easily create one yourself using #ALIAS.
#ALIAS type {#FILE 1 %-1;#TYPE 1;#CLOSE 1} |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
Thrillhouse8 Beginner
Joined: 21 Sep 2004 Posts: 18
|
Posted: Sun Sep 26, 2004 10:36 am problem with opening files |
I might not be in my right mind at the moment, but I can't seem to read from files. If I open a file using #file X filename.txt, it displays that I've opened filename.txt as file X. It creates a shortcut to a blank file on my desktop, and it seems to read from that blank file, instead of the one intended(located with the base zmud/zmud.exe directory). I ran into a similiar problem with a script I've, although it's a .dat file, in that it does not actually read from the file.
|
|
|
|
Thrillhouse8 Beginner
Joined: 21 Sep 2004 Posts: 18
|
Posted: Thu Sep 30, 2004 8:06 am hrm |
well, i copied the actual files to the desktop, and zmud can read from them fine now. is there a reason behind this, that it would read c:\....\desktop\text.txt but not c:\zmud\text.txt?
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Sep 30, 2004 9:57 am |
Most likely the shortcut you launched zMud with is on your desktop, and does not have the working directory field set correctly. Right-click on the shortcut and select Properties. Fill in the working directory field with the correct location.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|