So, scripting my CityRPG, i've run into a problem, and figured the best way to fix it would be using an if statement.
like,
if the datablock is IronOre, then 'if' is true, so do that
if the datablock is SilverOre, then 'if else' is true, so do that
if the datablock is PlatinumOre, then 'else' is true, so do that
how exactly would I go about doing this? any help greatly appreciated. im guessing itd be something around the lines of if %datablock.ironore 'so here'