CMND element?

  • eggy15
    4th Jun 2013 Member 2 Permalink

    This is my idea for a new element, I already posted a save about it that made it to fp before moderators removed it, apparently while some mods support the idea, others don't :/ Your support will be appreciated, and anyone who wishes to make a mod for this should :) Anyway, it would be similar to a command block in minecraft, there would be a sort of interface that you would put  a command in, like !set type WATR FIRE, then spark the CMND block and all water in a save would turn into fire.

  • xetalim
    4th Jun 2013 Member 0 Permalink

    it would result in spammy saves actuallly

  • therocketeer
    4th Jun 2013 Member 0 Permalink
    @eggy15 (View Post)
    hmm, what is the use?
  • SuinDraw
    4th Jun 2013 Banned 0 Permalink
    This post is hidden because the user is banned
  • jacob1
    4th Jun 2013 Developer 0 Permalink
    @SuinDraw (View Post)
    that's why it only does old console commands, not lua. Although if we wanted to have it run lua commands that's still possible with a sandbox, and i've done that before so it's very easy. But I would rather just leave it at old console commands if it were to be added.

    Also see my comment here:
  • Pilihp64
    4th Jun 2013 Developer 0 Permalink

    I don't see why this is needed, why would we want this element to use old console commands, which are extremely outdated and weak.  If anything it should be Lua.

     

    But we already have scripts, you can create an element to trigger Lua code right now.

    Lua scripts don't save with saves because they aren't sandboxed, which can be done.  I'm not sure how the new socket will work under sandbox, it might just have to be disabled from loaded saves.

     

    The only feature we need is Lua scripts to save, and loaded in sandbox.  Anything else is just a gimpy feature that will only limit users.