Mirage Source
Files & Variables - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Files & Variables (/showthread.php?tid=930)



Files & Variables - Braydok - 09-05-2007

Is it possible to put an entire text document onto a variable and then send it from client to server, or vice a versa?


- Robin - 09-05-2007

Yes. If you wanted, you could make a nice little packet which replaces new lines with a special character which can be read by the server, or, an array. Or use INet or something.


- Braydok - 10-05-2007

Could you help me on this?


- Rezeyu - 10-05-2007

10 bucks says it's easier to do it another way, depending on what you need.

Why do you need to send all the text from a text file?


- Braydok - 10-05-2007

This might sound silly, but if I ever get SadScript to work, then I want the admins to be able to say /script and then a little thinge comes up with the main.ls and they can edit it client side.