System.GetUser
Skip to content
mnscript
Player System.GetUser() 

Description ​

Returns the Player using the terminal

Returns ​

Player - The Player object

Example ​

msc
using System;
using Player;
using Console;

Player ply = System.GetUser();
if(ply.IsValid()){
    Console.WriteLine("The player using the computer is: "..ply.GetName());
}