diff --git a/DalamudPython/Commands.cs b/DalamudPython/Commands.cs index 65592b9..408ed75 100644 --- a/DalamudPython/Commands.cs +++ b/DalamudPython/Commands.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.IO; namespace DalamudPython { @@ -17,6 +16,7 @@ namespace DalamudPython { private Plugin Plugin { get; } private string? Script { get; set; } + private Dictionary Store { get; } = new(); public Commands(Plugin plugin) { this.Plugin = plugin; @@ -67,6 +67,7 @@ namespace DalamudPython { private void Execute(string script, bool print) { var scope = this.Plugin.Engine.CreateScope(); scope.SetVariable("interface", this.Plugin.Interface); + scope.SetVariable("store", this.Store); var fullScript = $@"import clr from Dalamud import * from Dalamud.Plugin import *