diff options
| author | william341 <[email protected]> | 2017-01-08 13:27:29 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-01-08 13:27:29 -0700 |
| commit | 51208cb5c86dc68a536181616fb9bc374be6a76d (patch) | |
| tree | d4808e868125111b7dc35df34fbc4ba31c346111 | |
| parent | 252307cd3eb40e50f28d165d79baea4659b23da0 (diff) | |
| parent | 03964a4dd7ef92fd47d437584dd88a317d068aea (diff) | |
| download | shiftos_thereturn-51208cb5c86dc68a536181616fb9bc374be6a76d.tar.gz shiftos_thereturn-51208cb5c86dc68a536181616fb9bc374be6a76d.tar.bz2 shiftos_thereturn-51208cb5c86dc68a536181616fb9bc374be6a76d.zip | |
Merge pull request #22 from carverh/patch-12
Added trm.echo command
| -rw-r--r-- | ShiftOS_TheReturn/Commands.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/Commands.cs b/ShiftOS_TheReturn/Commands.cs index d2bfbfd..4571387 100644 --- a/ShiftOS_TheReturn/Commands.cs +++ b/ShiftOS_TheReturn/Commands.cs @@ -169,6 +169,13 @@ namespace ShiftOS.Engine { AppearanceManager.ConsoleOut.Clear(); return true; } + + [Command("echo")] + [RequiresArgument("text")] + public static bool Echo(Dictionary<string, object> args) { + Console.WriteLine(args["text"]); + return true; + } } #if DEVEL |
