Dispenser.HideItem
Skip to content
mnscript
Dispenser.HideItem(string) 

Description ​

Stops displaying the item on the dispenser screen.

Arguments ​

string - The item name.

Example ​

msc
using Peripheral;
using Console;
using Application;
using Util;
using Array;

Dispenser dispenser = Peripheral.GetConnectedDispenser();

if(dispenser.IsValid() == false){
    // If the dispenser was not found, quit.
    Application.Exit();
}

// Tells the dispenser to stop displaying glocks.
// To find the item name of a weapon, right click copy the weapon in Q menu Weapons Tab.
dispenser.HideItem("vguns_glockp80");