Scripts/Customs/Nerun's Distro/New/Commands/Toolbar.cs
/// <summary>
/// Calculates the default command entries based on one's AccessLevel.
/// </summary>
Calculates the default command entries based on one's AccessLevel.
Calculates the default command entries based on one ' s AccessLevel .
public static List<string> DefaultEntries( int i )
		{
			List<string> entries = new List<string>();
			switch(i)
			{
				case 0: 
					break;
				case 1: 
					entries.Add(".GMBody"); entries.Add(".StaffRunebook"); entries.Add(".Stuck"); entries.Add(".M Tele"); for( int j = 0; j < 5; j++ ){entries.Add("-");}
					entries.Add(".Where"); entries.Add(".who"); entries.Add(".Self Hide"); entries.Add(".Self Unhide");
					break;
				case 2: 
					entries.Add(".GMBody"); entries.Add(".StaffRunebook"); entries.Add(".Props"); entries.Add(".M Tele"); entries.Add(".Where"); entries.Add(".Who"); entries.Add(".Self Hide"); for( int j = 0; j < 2; j++ ){entries.Add("-");}
					entries.Add(".SpawnEditor"); entries.Add(".Move"); entries.Add(".M Remove"); entries.Add(".Wipe"); entries.Add(".Kill"); entries.Add(".Recover"); entries.Add(".Self Unhide");
					break;
				case 3: 
					goto case 2;
				case 4: 
					entries.Add(".Admin"); entries.Add(".GMBody"); entries.Add(".StaffRunebook"); entries.Add(".StaEx MyDeco"); entries.Add(".M Tele"); entries.Add(".Where"); entries.Add(".Who"); entries.Add(".Self Hide"); for( int j = 0; j < 1; j++ ){entries.Add("-");}
					entries.Add(".PremiumSpawner"); entries.Add(".SpawnEditor"); entries.Add(".Move"); entries.Add(".M Remove"); entries.Add(".Wipe"); entries.Add(".Props"); entries.Add(".Recover"); entries.Add(".Self Unhide"); for( int j = 0; j < 1; j++ ){entries.Add("-");}
					entries.Add(".AddonGen"); entries.Add(".Get Location"); entries.Add(".Get ItemID"); entries.Add(".AddDoor");
					break;
				case 5: 
					goto case 4;
				case 6: 
					goto case 4;
			}
			return entries;
		}
public static List < string > DefaultEntries ( int i ) { List < string > entries = new List < string > ( ) ; switch ( i ) { case 0 : break ; case 1 : entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; for ( int j = 0 ; j < 5 ; j ++ ) { entries . Add ( " " ) ; } entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; break ; case 2 : entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; for ( int j = 0 ; j < 2 ; j ++ ) { entries . Add ( " " ) ; } entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; break ; case 3 : goto case 2 ; case 4 : entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; for ( int j = 0 ; j < 1 ; j ++ ) { entries . Add ( " " ) ; } entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; for ( int j = 0 ; j < 1 ; j ++ ) { entries . Add ( " " ) ; } entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; entries . Add ( " " ) ; break ; case 5 : goto case 4 ; case 6 : goto case 4 ; } return entries ; }
Calculates the default command entries based on one's AccessLevel.
Calculates the default command entries based on one ' s AccessLevel .
// Player // Counselor // GameMaster // Seer // Administrator // Developer // Owner
i
int