Skip to content
Outlands Hub

Razor script

Mushroom with timer example

by Jaseowns · 30 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

Mushroom Options

Mushroom with timer example.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/6f3c2371-284a-4989-bfba-0ebf3ee9ae25 for latest2# Automation by Jaseowns3## Script: Mushroom with timer example4## Created by: Jaseowns#66945#############################################6 7#####8## Mushroom Options9###10@setvar! jaseowns_EatShroomies 111@setvar! jaseowns_EatShroomiesTimerCD 6000012@setvar! jaseowns_EatShroomiesAtDiffMana 3513 14if not timerexists jaseowns_EatShroomiesTimer15    settimer jaseowns_EatShroomiesTimer jaseowns_EatShroomiesTimerCD16endif17 18#####19## Eat Mushroom Check20###21if timer jaseowns_EatShroomiesTimer >= jaseowns_EatShroomiesTimerCD and diffmana >= jaseowns_EatShroomiesAtDiffMana and findtype 29012 backpack 2963 as jaseowns_MushroomItem22    dclick jaseowns_MushroomItem23    getlabel backpack jaseowns_PingCheck24    if insysmsg "You are already at your maximum mana."25        // do nothing26    elseif insysmsg "You consume a magic mushroom and restore some mana."27        settimer jaseowns_EatShroomiesTimer 028        wait 65029    endif30endif