Back to "mushroom" tags

Mushroom with timer example by Jaseowns

##### ## Mushroom Options ### @setvar! jaseowns_EatShroomies 1 @setvar! jaseowns_EatShroomiesTimerCD 60000 @setvar! jaseowns_EatShroomiesAtDiffMana 35 if not timerexists jaseowns_EatShroomiesTimer settimer jaseowns_EatShroomiesTimer jaseowns_EatShroomiesTimerCD endif ##### ## Eat Mushroom Check ### if timer jaseowns_EatShroomiesTimer >= jaseowns_EatShroomiesTimerCD and diffmana >= jaseowns_EatShroomiesAtDiffMana and findtype 29012 backpack 2963 as jaseowns_MushroomItem dclick jaseowns_MushroomItem getlabel backpack jaseowns_PingCheck if insysmsg "You are already at your maximum mana." // do nothing elseif insysmsg "You consume a magic mushroom and restore some mana." settimer jaseowns_EatShroomiesTimer 0 wait 650 endif endif