doubleclick123 Posted July 30, 2011 Share Posted July 30, 2011 scn SmeltingBronzeSCRIPT Begin OnActivate if player.getitemcount CopperOre < 5 messagebox "You donot have enough ores" end if end Begin OnActivate if player.getitemcount CopperOre >= 5 messagebox "You made a Copper Bar' player.removeitem CopperOre 5 player.additem BronzeBar 1end Can someone tell me if i did anything wrong? Link to comment Share on other sites More sharing options...
doubleclick123 Posted July 30, 2011 Author Share Posted July 30, 2011 I also tried this scn SmeltingBronzeSCRIPT Begin OnActivate if player.getitemcount CopperOre <= 4 messagebox "You donot have enough ore" end Begin OnActivate if player.getitemcount Copperore >= 5 messagebox "You made a Copper Bar' player.removeitem CopperOre 5 player.additem BronzeBar 1end Link to comment Share on other sites More sharing options...
GreatLucifer Posted July 30, 2011 Share Posted July 30, 2011 scn SmeltingBronzeSCRIPT begin OnActivate if player.GetItemCount CopperOre < 5 messagebox "You do not have enough ore" else messagebox "You made a Copper Bar' player.removeitem CopperOre 5 player.additem BronzeBar 1 endif end Link to comment Share on other sites More sharing options...
doubleclick123 Posted July 30, 2011 Author Share Posted July 30, 2011 Thanks... a lot :D Link to comment Share on other sites More sharing options...
GreatLucifer Posted July 30, 2011 Share Posted July 30, 2011 You're welcome :) Link to comment Share on other sites More sharing options...
Recommended Posts