here come the "/judge"

macros macros macros

Moderators: Phineas, noivad

Post Reply
User avatar
noivad
Order of the White Elephant
Order of the White Elephant
Posts: 3333
Joined: Wed Oct 08, 2003 4:04 pm
Profession: Fighter
Race: Sylvan
Player Status: Active
Location: SF Bay Area
Contact:

here come the "/judge"

Post 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"
}
http://www.clanlord.net/
Org Du Lac's bestiary: http://bestiary.clanlord.net/index.html
Gil Galad’s Pirates http://pirates.clanlord.net/ & Ranger Studies: http://studies.clanlord.net/
?security warning:View cert•CL players assess valid by refs

Dyaus
Exile
Posts: 637
Joined: Wed Mar 18, 2009 2:32 pm
Profession: Ranger
Race: Ghorak Zo
Player Status: Inactive
Location: GMT-8
Contact:

Re: here come the "/judge"

Post 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
}

Post Reply