# Inputting a text file for use as a program in a MOO

Rich Connamacher (phantom@baymoo.sfsu.edu)
Mon, 23 Oct 1995 18:49:55 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    On Mon, 23 Oct 1995, Chris Jones wrote:

    >
    > 	Thank you very much, every one who replied to my post yesterday
    > (re: byte quota as opposed to object quota).  Now, the thing I need to
    > know is:  Is there any way to input a text file (containing MOO code)
    > into the MOO, without having to connect from a different site?
    >
    > 	(I'm running Linux, MOO Server 1.7.9p1, Core from 1-Oct-94, on a
    > 486.  I use a local telnet to get into the MOO...)  Any ideas?
    >
    >

    I believe that FUP has just what you want... just toss the file into your
    files/ directory, and fileread() it into memory.  Then eval it or
    use it in set_verb_code or something along those lines.  (Sorry, I forget
    the address from where to get FUP.. check the MOO-cows archives for that,
    it's mentioned all over the place)

    Phantom