to start harvesting a plant. harvoff to stop harvesting before you've reached the number of plants you wanted to harvest (to prevent overharvests and other problems, if you mistype the number).
]]>
if(world.GetVariable("no_of_herbs") != 0)
{
world.Send("harvest " + world.GetVariable("herb"));
world.SetVariable("no_of_herbs", world.GetVariable("no_of_herbs") - 1);
}
world.SetVariable("no_of_herbs", 0);
world.SetVariable("herb", "%2");
world.SetVariable("no_of_herbs", %1 - 1);
world.Send("harvest " + "%2");
0