lockpick.mac

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

inorpo
a lesser mummy
a lesser mummy
Posts: 31
Joined: Sat Nov 29, 2003 1:44 pm

lockpick.mac

Post by inorpo » Fri Dec 12, 2003 8:39 pm

Code: Select all

|I "borrowed" some code from here and there
| have fun, i went from 1 to 202 (yea, i'm a 51 rogue) in about 4min.
| the best place is in Plane of Tranquility, right above the book on the table behind the
| PoK book, its about a foot above the book
| Good luck
| have fun.
| -inorpo
#turbo

#event PickSucc "You successfully"
#event SkillUp "You have become better at"
#chat tell

Sub Main
	/declare Trys global
	/declare SkillUps global
	/varset Trys 0
	/varset SkillUps 0
	:Start
	 /if "$target(name,clean)"=="$char(name)" {
		  :HoldingPattern
		  /delay 2s
		  /if "$target(name,clean)"=="$char(name)" /call ShowStats
	 }
	/click left
	/doevents
	/goto :Start

/return

Sub Event_PickSucc
	/varadd Trys 1
/return

Sub Event_SkillUp
	/varadd SkillUps 1
	/echo $int(@SkillUps) skill ups in $int($calc(@Trys)) attempts!
/return

Sub ShowStats
	/echo Total clicks:	 $int(@Trys)
	/echo Total SkillUps: $int(@SkillUps)
	/endmacro
/return

Sub Event_Chat
	 /echo Got a tell, Ending
	 /call ShowStats
/return

xviisualx
orc pawn
orc pawn
Posts: 22
Joined: Mon Nov 18, 2002 3:08 pm
Contact:

Post by xviisualx » Sat Dec 13, 2003 12:57 am

Zone into POTranq. There will be a spinning book. Sit on that and face the exit door. Put your lockpicks on the cursor and click on that doorway. Instant skillups basicly cause the door doesn't open/close.
Hoodallali!

[40oz]
a hill giant
a hill giant
Posts: 156
Joined: Tue Nov 12, 2002 12:14 pm

Post by [40oz] » Sat Dec 13, 2003 1:47 pm

from a coders standpoint...

you're only incrementing your "Trys" stat every time you successfully pick the lock, not everytime you try.

but thena gain, i'm just being picky. theres probably something about rogue lockpick that you never fail or whatever.

masacist
orc pawn
orc pawn
Posts: 11
Joined: Tue Jan 27, 2004 10:40 am

wondering

Post by masacist » Wed Jan 28, 2004 11:12 am

Just wondering is there anywhere else this can be used?

for example someone under lvl 46 who cannot enter PoTranq???

ty in advance
"Theres only 10 types of people who understand Binary - and them who read Binary for Dummies"

a9
orc pawn
orc pawn
Posts: 12
Joined: Mon Jan 26, 2004 10:16 am

Post by a9 » Wed Jan 28, 2004 2:35 pm

First door in Befallen i think. Used it in PoN and it worked well. :D
Syntax Error:

A9 at work.