Ranger Macros: Difference between revisions

From CLUMP
Jump to navigationJump to search
m Shieldstone: —Updated Shieldstone macro for toggle
Line 12: Line 12:
===Shieldstone===
===Shieldstone===
Press once to turn on, press again to turn off and unequip your Shieldstone.
Press once to turn on, press again to turn off and unequip your Shieldstone.
  f3 call Shieldstone //modify this to your chosen hotkey
  f3 call toggleShieldstone //modify this to your chosen hotkey
shift-f3 call UnShieldstone //modify this to your chosen hotkey
   
   
  set shso 0
  toggleShieldstone
Shieldstone
  {
  {
if shso == 1
  if @my.finger_item == "Shieldstone" //skips equip phase if true
  goto OFF
    goto ON
end if
end if
if @my.finger_item == "Shieldstone"
goto ON
end if
label equip
"/equip shieldstone\r"
label ON
"/useitem finger\r"
pause 1
   
   
label CHECK
label equip
if @env.textLog >= "Your Shieldstone goes inert"
"/equip shieldstone\r"
goto equip
end if
   
   
label TIMER
label ON
pause 1
"/useitem shieldstone\r"
setglobal shso 1
pause 1
goto END
   
   
label OFF
label CHECK //Checks for Shieldstone failures …
"/useitem finger /cancel\r"
if @env.textLog >= "Your Shieldstone goes inert"
setglobal shso 0
    pause 6 //pause long enough for a new RNG roll.
label END
    goto equip //…if so equips backup (if you have 1)
}
end if
UnShieldstone
{
"/unequip finger\r"
setglobal shso 0
  }
  }



Revision as of 11:16, 26 May 2022

Check current and past studies

Equips your Belt of the Wild if needed.

"/reflect"
{
	message ""
	if @my.waist_item != "belt of the wild"
		"/equip beltofthewild\r"
	end if
	"/useitem beltofthewild /reflect\r"
}

Shieldstone

Press once to turn on, press again to turn off and unequip your Shieldstone.

f3 call toggleShieldstone //modify this to your chosen hotkey

toggleShieldstone
{
	if @my.finger_item == "Shieldstone" //skips equip phase if true
	     goto ON
	end if

	label equip
	"/equip shieldstone\r"

	label ON
	"/useitem shieldstone\r"
	pause 1

	label CHECK //Checks for Shieldstone failures …
	if @env.textLog >= "Your Shieldstone goes inert"
	     pause 6 //pause long enough for a new RNG roll.
	     goto equip //…if so equips backup (if you have 1)
	end if
}

Heartwood Charm

Press once to turn on, press again to turn off.

f4 call Heartwood //modify this to your chosen hotkey

Heartwood
{
if @my.left_item != "Heartwood Charm"
	"/equip heartwood\r"
end if
"/useitem left\r"
}

Befriend Macros

"/be"
{
"/usei belt /befriend\r"
"/pose bless\r"
}

"/con"
{
"/usei belt /control\r"
"/pose sal\r"
}

"/dis"
{
"dismissing\r"
"/pose surprised\r"
pause 3
"/usei belt /dismiss\r"
}

Morph

Make sure to type in the appropriate morph.

/morph1
{
	if @my.waist_item != "belt of the wild"
		"/equip beltofthewild\r"
	end if
	"\useitem beltofthewild /shape MONSTER_NAME_HERE\r"
}

Unmorph

Works to get you out of any morph.

/unmorph
{
	if @my.waist_item != "belt of the wild"
		"/equip beltofthewild\r"
	end if
	"\useitem beltofthewild /return\r"
}

Judge Ranger progress

Used to evaluate the progression of aspiring Rangers. Type /judge <player name> to use it.

"/judge"
//Adapted from a macro by Super Chicken
{
	if @my.waist_item != "belt of the wild"
		"/equip beltofthewild\r"
	end if
	"/select  " + @text.word[0] + "\r"
	set theJudged @selplayer.simple_name
	"/select\r"
	"/useitem beltofthewild /judge " theJudged "\r"

	if @env.textLog < "has barely begun to learn about the earth."
	"/ponder " theJudged " has barely begun to learn about the earth."
	message "* 8 more messages to go."
	end if

	if @env.textLog < "has begun to learn about the earth."
	"/ponder " theJudged " has begun to learn about the earth."
	message "* 7 more messages to go."
	end if

	if @env.textLog < "still has much to learn about the earth."
	"/ponder " theJudged " still has much to learn about the earth."
	message "* 6 more messages to go."
	end if 

	if @env.textLog < "is making progress towards becoming a Ranger."
	"/ponder " theJudged " is making progress towards becoming a Ranger."
	message "* 5 more messages to go."
	end if 

	if @env.textLog < "is making good progress towards becoming a Ranger."
	"/ponder " theJudged " is making good progress towards becoming a Ranger."
	message "* 4 more messages to go."
	end if

	if @env.textLog < "is making excellent progress towards becoming a Ranger."
	"/ponder " theJudged " is making excellent progress towards becoming a Ranger."
	message "* 3 more messages to go."
	end if

	if @env.textLog < "is knowledgeable about the earth."
	"/ponder " theJudged " is knowledgeable about the earth."
	message "* 2 more messages to go."
	end if

	if @env.textLog < "is very knowledgeable about the earth."
	"/ponder " theJudged " is very knowledgeable about the earth."
	message "* 1 more message to go."
	end if

	if @env.textLog < "is nearly ready to become a Ranger."
	"/ponder " theJudged " is nearly ready to become a Ranger."
	message "* Ready for Rangerhood."
	end if

	if @env.textLog < "has chosen another path and cannot become a Ranger."
	"/ponder " theJudged " has chosen another path and cannot become a Ranger."
	end if
}