PDA

View Full Version : Rogue guild lm picking contest wizard script



RAR
04-23-2015, 02:56 PM
I hate the lm picking contest so I created a rudimentary wizard script today that seems to do the basics. I haven't had a fumble or missed unlock of a box yet so that part isn't tested. I'll update the script once I experience that and if the script doesn't account for it. Create a wizard command line script named lockpickgame and paste the below into it. When you run it you just need to type ".lockpickgame %1" where %1 should be the master you want to use...so an example is .lockpickgame Bean. Thx

#lockpickgame.Cmd

Start:
put ask %1 about train in lock
goto Trapstart

Trapstart:
Waitfor As an apprentice goes about setting up
goto Disarmenhance

Disarmenhance:
put prep 404
put cast
pause
goto Disarm1

Disarm1:
put disarm box
match Disarm1again You still have a good enough picture
match Disarm2 You discover no traps
matchwait

Disarm1again:
pause
put disarm box
match Disarm1again You still have a good enough picture
match Disarm2 You have scored 200 points!
matchwait

Disarm2:
pause
put disarm second box
match Disarm2again You still have a good enough picture
match Disarm3 You discover no traps
matchwait

Disarm2again:
pause
put disarm second box
match Disarm2again You still have a good enough picture
match Disarm3 You have scored 200 points!
matchwait

Disarm3:
pause
put disarm third box
match Disarm3again You still have a good enough picture
match Disarm4 You discover no traps
matchwait

Disarm3again:
pause
put disarm third box
match Disarm3again You still have a good enough picture
match Disarm4 You have scored 200 points!
matchwait

Disarm4:
pause
put disarm fourth box
match Disarm4again You still have a good enough picture
match Disarm5 You discover no traps
matchwait

Disarm4again:
pause
put disarm fourth box
match Disarm4again You still have a good enough picture
match Disarm5 You have scored 200 points!
matchwait

Disarm5:
pause
put disarm fifth box
match Disarm5again You still have a good enough picture
match Open You discover no traps
matchwait

Disarm5again:
pause
put disarm fifth box
match Disarm5again You still have a good enough picture
match Open You have scored 200 points!
matchwait

Open:
pause
put get lockpick on table
goto Open1

Open1:
put pick box with my lockpick
match Open1again You have been penalized
match Open2 Then...CLICK!
matchwait

Open1again:
pause
put pick box with my lockpick
match Open1again You have been penalized
match Open2 Then...CLICK!
matchwait

Open2:
pause
put pick second box with my lockpick
match Open2again You have been penalized
match Open3 Then...CLICK!
matchwait

Open2again:
pause
put pick second box with my lockpick
match Open2again You have been penalized
match Open3 Then...CLICK!
matchwait

Open3:
pause
put pick third box with my lockpick
match Open3again You have been penalized
match Open4 Then...CLICK!
matchwait

Open3again:
pause
put pick third box with my lockpick
match Open3again You have been penalized
match Open4 Then...CLICK!
matchwait

Open4:
pause
put pick fourth box with my lockpick
match Open4again You have been penalized
match Open5 Then...CLICK!
matchwait

Open4again:
pause
put pick fourth box with my lockpick
match Open4again You have been penalized
match Open5 Then...CLICK!
matchwait

Open5:
pause
put pick fifth box with my lockpick
match Open5again You have been penalized
match Done Then...CLICK!
matchwait

Open5again:
pause
put pick fifth box with my lockpick
match Open5again You have been penalized
match Done Then...CLICK!
matchwait

Done:

RAR
04-23-2015, 04:38 PM
It worked ok when I got penalized for not opening a lock on the first try. I also made a small change...I replaced "Then...CLICK!" with "You have scored" because both the master and you can generate the "Then...CLICK!" message. Updated script below...

#lockpickgame.Cmd

Start:
put ask %1 about train in lock
goto Trapstart

Trapstart:
Waitfor As an apprentice goes about setting up
goto Disarmenhance

Disarmenhance:
put prep 404
put cast
pause
goto Disarm1

Disarm1:
put disarm box
match Disarm1again You still have a good enough picture
match Disarm2 You discover no traps
matchwait

Disarm1again:
pause
put disarm box
match Disarm1again You still have a good enough picture
match Disarm2 You have scored 200 points!
matchwait

Disarm2:
pause
put disarm second box
match Disarm2again You still have a good enough picture
match Disarm3 You discover no traps
matchwait

Disarm2again:
pause
put disarm second box
match Disarm2again You still have a good enough picture
match Disarm3 You have scored 200 points!
matchwait

Disarm3:
pause
put disarm third box
match Disarm3again You still have a good enough picture
match Disarm4 You discover no traps
matchwait

Disarm3again:
pause
put disarm third box
match Disarm3again You still have a good enough picture
match Disarm4 You have scored 200 points!
matchwait

Disarm4:
pause
put disarm fourth box
match Disarm4again You still have a good enough picture
match Disarm5 You discover no traps
matchwait

Disarm4again:
pause
put disarm fourth box
match Disarm4again You still have a good enough picture
match Disarm5 You have scored 200 points!
matchwait

Disarm5:
pause
put disarm fifth box
match Disarm5again You still have a good enough picture
match Open You discover no traps
matchwait

Disarm5again:
pause
put disarm fifth box
match Disarm5again You still have a good enough picture
match Open You have scored 200 points!
matchwait

Open:
pause
put get lockpick on table
goto Open1

Open1:
put pick box with my lockpick
match Open1again You have been penalized
match Open2 You have scored
matchwait

Open1again:
pause
put pick box with my lockpick
match Open1again You have been penalized
match Open2 You have scored
matchwait

Open2:
pause
put pick second box with my lockpick
match Open2again You have been penalized
match Open3 You have scored
matchwait

Open2again:
pause
put pick second box with my lockpick
match Open2again You have been penalized
match Open3 You have scored
matchwait

Open3:
pause
put pick third box with my lockpick
match Open3again You have been penalized
match Open4 You have scored
matchwait

Open3again:
pause
put pick third box with my lockpick
match Open3again You have been penalized
match Open4 You have scored
matchwait

Open4:
pause
put pick fourth box with my lockpick
match Open4again You have been penalized
match Open5 You have scored
matchwait

Open4again:
pause
put pick fourth box with my lockpick
match Open4again You have been penalized
match Open5 You have scored
matchwait

Open5:
pause
put pick fifth box with my lockpick
match Open5again You have been penalized
match Done You have scored
matchwait

Open5again:
pause
put pick fifth box with my lockpick
match Open5again You have been penalized
match Done You have scored
matchwait

Done: