CoralMUD-0.18/
CoralMUD-0.18/core/
CoralMUD-0.18/data/
CoralMUD-0.18/data/help/
CoralMUD-0.18/data/players/
CoralMUD-0.18/data/socials/
CoralMUD-0.18/lib/automap/
CoralMUD-0.18/lib/items/
module ScriptEnvironment
  def run txt, b=binding()
    proc {
      txt.untaint
      $SAFE = 3
      begin
        b.eval(txt)
      rescue Exception=>e
        log :info, "Script failed."
        log_exception e, :info
      end
    }.call
  end
end