CoralMUD-0.26/
CoralMUD-0.26/core/
CoralMUD-0.26/data/
CoralMUD-0.26/data/help/
CoralMUD-0.26/data/socials/
CoralMUD-0.26/lib/automap/
CoralMUD-0.26/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