here come the "/judge"

noivad
Exile
Post #1

here come the "/judge"

by noivad » Sun Jan 23, 2011 10:22 am

Really simple macro. instead of type "/usei belt /judge <name>" you just type /judge <name>

Code: Select all

"/judge" 
{
"/useitem belt /judge " @text "\r"
}

Dyaus
Exile
Post #2

here come the "/judge"

by Dyaus » Sun Jan 23, 2011 11:37 am

Same usage, but obviously not as simple. Will equip your Belt of the Wild if needed, and tell you how many Ranger progress messages remain for the person you judged. Un-comment a line near the end of the macro to also /ponder the message.

Edit: Appears to not work so well on MacOS. If anyone cares to enlighten me as to why that is, that'd be super.

Code: Select all

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

	if @env.textLog < "has barely begun to learn about the earth."
		set ponderSet 1
		set ponderMsg " has barely begun to learn about the earth."
		message "* 8 more messages to go."
	else if @env.textLog < "has begun to learn about the earth."
		set ponderSet 1
		set ponderMsg " has begun to learn about the earth."
		message "* 7 more messages to go."
	else if @env.textLog < "still has much to learn about the earth."
		set ponderSet 1
		set ponderMsg " still has much to learn about the earth."
		message "* 6 more messages to go."
	else if @env.textLog < "is making progress towards becoming a Ranger."
		set ponderSet 1
		set ponderMsg " is making progress towards becoming a Ranger."
		message "* 5 more messages to go."
	else if @env.textLog < "is making good progress towards becoming a Ranger."
		set ponderSet 1
		set ponderMsg " is making good progress towards becoming a Ranger."
		message "* 4 more messages to go."
	else if @env.textLog < "is making excellent progress towards becoming a Ranger."
		set ponderSet 1
		set ponderMsg " is making excellent progress towards becoming a Ranger."
		message "* 3 more messages to go."
	else if @env.textLog < "is knowledgeable about the earth."
		set ponderSet 1
		set ponderMsg " is knowledgeable about the earth."
		message "* 2 more messages to go."
	else if @env.textLog < "is very knowledgeable about the earth."
		set ponderSet 1
		set ponderMsg " is very knowledgeable about the earth."
		message "* 1 more message to go."
	else if @env.textLog < "is nearly ready to become a Ranger."
		set ponderSet 1
		set ponderMsg " is nearly ready to become a Ranger."
		message "* Ready to become a Ranger."
	end if

	"/unequip beltofthewild\r"	
	if ponderSet == 1
//		"/ponder " theJudged ponderMsg "\r"
	end if
}