Post: How to make custom commands ?
09-28-2016, 06:22 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hi,
I'm currently just messing with c# and Cosmos and although it may not be the correct way to make commands for cosmos i user if statements and a variable called input E.G** * * * * *

if (input == "about")
* * * * * * {
* * * * * * * * Console.WriteLine("This OS is made by Viper and is called Viper OS (version 1.0.0)");
* * * * * * }

but now i want to make a command to create a user and i've got

* * * * * * if (input == "usrcreate name :" + [put username variable here] + "password : " + [put password variable here])
* * * * * * {
* * * * * * * **
* * * * * * }

and i need to find a way to have customisable username and password e.g a variable to put in the square brackets

Thanks, Please notify me if i'm coming at this at the wrong angle


**NOTE IVE FIXED IT**
Last edited by Viper Skillz ; 09-28-2016 at 06:57 PM. Reason: FIXED

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo