In my mud, which uses Oasis as its OLC, I created an "rset" command, patterned slightly after Obuild's command set. "rset create <new room vnum>" (or something like that) will do exactly what you describe. This also leaves the room in a temporary buffer, compatible with what Oasis does; the primary difference is you are not tied to the redit menu. Other commands (rset name blah blah blah, for example) let you modify various attributes, and "rset save" lets you save the room and remove it from your edit buffer. At 03:17 PM 12/3/98 +0100, you wrote: >Im trying to make a command creating a new room, without using redit from Oasis. Lets call it makeroom. >I found the function redit_setup_new in redit.c which I was planing to use. >But somehow I cant get it to work. Basicly it should work like this: >makeroom 10222(which dont exist) > >ACMD(do_makeroom) >{ >blah blah > >redit_setup_new(arg); > >blah blah >} > >Simpel? Or TO simple? >Anybody has made something like this? > >/Jesper > > > +------------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | > +------------------------------------------------------------+ > +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST