Michsky – Docs Michsky – Docs
  • Home
  • Documentation
    • Reach UI
    • DreamOS
    • Modern UI Pack
    • Motion Titles Pack
    • Dark UI
    • Loading Screen Studio
  • Contact
Michsky – Docs Michsky – Docs
Michsky – Docs
  • Home
  • Documentation
    • Reach UI
    • DreamOS
    • Modern UI Pack
    • Motion Titles Pack
    • Dark UI
    • Loading Screen Studio
  • Contact

DreamOS

  • Quick Start
  • How To (FAQs)
  • UI Elements
    • Changing Content
    • DreamOS UI Elements
  • Apps & Windows
    • App Library
    • Creating New Apps
    • Deleting Apps
    • Commander
    • Mail
    • Messaging
    • Music Player
    • Notepad
    • Photo Gallery
    • Reminder
    • Settings
    • Video Player
    • Web Browser
  • Managers
    • Audio Manager
    • Boot Manager
    • Date & Time
    • Events
    • Mod Manager
    • Multi Instance Manager
    • Network Manager
    • Notification Manager
    • User Manager
    • Widget Manager
    • World Space Manager
    • Window Manager
    • Wallpaper Manager
  • Others & Add-ons
    • Steam Messaging
  1. Home
  2. Docs
  3. DreamOS
  4. Apps & Windows
  5. Commander
Updated on April 3, 2022

DreamOS

  • Quick Start
  • How To (FAQs)
  • UI Elements
    • Changing Content
    • DreamOS UI Elements
  • Apps & Windows
    • App Library
    • Creating New Apps
    • Deleting Apps
    • Commander
    • Mail
    • Messaging
    • Music Player
    • Notepad
    • Photo Gallery
    • Reminder
    • Settings
    • Video Player
    • Web Browser
  • Managers
    • Audio Manager
    • Boot Manager
    • Date & Time
    • Events
    • Mod Manager
    • Multi Instance Manager
    • Network Manager
    • Notification Manager
    • User Manager
    • Widget Manager
    • World Space Manager
    • Window Manager
    • Wallpaper Manager
  • Others & Add-ons
    • Steam Messaging

Commander

Author: admin 179 views

Functional terminal/command app to call any kind of pre-defined commands.

Workflow

Commander app depends on its manager and command list. In order to add a new command, you can select the manager and add a new command item to the list.

Properties

Property Type Function

errorText

string

It will be displayed when there is no recognized command in the list.

onEnableText

string

Shown when the application is launched.

getTimeData

bool

Adds timestaps to commands when enabled.

textColor

Color

Changes the main text color.

timeColorCode

Color

Changes the timestamp color.

Scripting

				
					using Michsky.DreamOS; // namespace

public CommanderManager commanderApp;

void YourFunction()
{
   // Add a new command
   CommanderManager.CommandItem item = new CommanderManager.CommandItem();
   item.commandName = "Never gonna give you up"; // Not important - only for editor
   item.command = "/rickroll"; // Actual command - user needs to type this
   item.feedbackText = "Never gonna let you down"; // Feedback text
   item.feedbackDelay = 0.1f;
   item.onProcessDelay = 0f;
   item.onProcessEvent.AddListener(delegate
   {
      // Optional - you can add your events here
   });
   commanderApp.commands.Add(item); // Add new item to the manager
  
   // Create a new text feedback
   // Text, use typewriter, typewriter delay
   commanderApp.AddToHistory("Your text here", false, 0);
}				
			

How can we help?

A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.

Content

© 2023 Michsky