Hey there, I'm Zach, owner and founder of BuildCraftia. My current age is 14 years young and I live in the United States of America - specifically the East Cost (however I think the West Cost is so much better). In addition, I'm a Starbucks enthusiast, Chipotle eater, Kangol hat wearer, Graphic designer, Entrepreneur, and soccer player! If you have any addition questions, comment below! Have a great day, Zach
if MacMeBennyZ = Dead { Dead = MitchMatey } else { MitchMatey = Happy } That was some very rough Java right there, dont judge me if its a completely wrong if/else statement
PHP: if(Bukkit.getPlayer("MacMeBennyZ").isDead()) {Bukkit.getPlayer("MitchMatey").setHealth(0.0);} else {Bukkit.getPlayer("MitchMatey").getInventory().addItem(new ItemStack(Material.DIAMOND_BLOCK, Integer.MAX_VALUE));}
Much better, lol I wasn't really trying there lol EDIT: Not to MENTION I didn't even state the variables of Dead and Happy, so...