var7 = playermp.worldObj;
if ((var7.getBlock(var3, var4, var5) == Blocks.air || !((var7.getBlock(var3, var4, var5)) instanceof BlockButton))
&& !(((var7.getBlock(var3, var4, var5)) instanceof BlockLever)))
{
throw new CommandException("Button/Lever Not Found");
}
else
{
var7.getBlock(var3, var4, var5).onBlockActivated(var7, var3, var4, var5, (EntityPlayer) null, 0, 0.0F, 0.0F, 0.0F);
OutputHandler.chatConfirmation(sender, "Button/Lever Pushed");