Org.GetName
Skip to content
mnscript
string Org.GetName() 

Description ​

Gets the org name

Returns ​

string - The org name

Example ​

msc
using Org;
using Console;
using Player;
using System;

// Finds the org of the player using the computer and shows the name.

Player user = System.GetUser();
Org org = Org.GetOrg(user);

if(org.IsValid()){
    // The org is valid, which means it exists.

    string name = org.GetName();
    Console.WriteLine("The org name is: "..name);
}