Crossing Steal (script)

From Elanthipedia
Jump to: navigation, search
Crossing Steal (script)
Category training
Front-end Unknown
Author Tjorlando


This Script will run through Crossing stealing items you choose from 17 different shops four times each. This script requires you to use a time as %1 so you can know when it was last used. Replace all "#Item" with item you want to steal from that shop. In the bathhouse, the variable "steal2" allows you to steal the items in the soap basin. If not needed, just delete that line. This script will also steal 5 times from the beggar, veteran, and minstrel, and at the end will inform you how many times you stole from the npcs, if and where you were caught, and if and where you are no longer learning from stealing certain things. Takes approx. 8 minutes.

I had to edit this script slightly since only Traders can steal from the Trader's guild. If anything buggy happens around there or because of that edit, please email me at tjorlando@hotmail.com and I'll try to correct it.

2.0: Cut the script in half. Uses only 6 variables instead of 20.

    #########################  Settings  ########################
    ############## Edit What you want to steal here #############
    #############################################################

If_1 goto beginscript
echo ***** USE A TIMER
echo ***** Last Run: %cstealtimer
exit

0:
#General Store
general:
setvariable steal #Item
goto %stealing%inshop

3:
#Clerics Shop
cleric:
counter set 3
setvariable steal #Item
goto %stealing%goshopcs

6:
#BathHouse
bath:
counter set 6
setvariable steal #Item
setvariable steal2 #Item Place
goto %stealing%gobath
stealgobath:
move go bath
goto inshop

11:
#LockSmith
locksmith:
counter set 11
setvariable steal #Item
goto %stealing%godoorls
stealgodoorls:
move go door
goto inshop

16:
#Bard Shop
bard:
counter set 16
setvariable steal #Item
goto %stealing%goshopbs

20:
#Armory
armory:
counter set 20
setvariable steal #Item
goto %stealing%goarmory
stealgoarmory:
move go armory
goto inshop

22:
#Weapon Shop
weapon:
counter set 22
setvariable steal #Item
goto %stealing%goweapon
stealgoweapon:
move go weapon
goto inshop

31:
#Furrier
furrier:
counter set 31
setvariable steal #Item
goto %stealing%goshed
stealgoshed:
move go shed
move w
move w
goto inshop

39:
#Alchemy Shop
alchemy:
counter set 39
setvariable steal #Item
goto %stealing%goshopas

42:
#Herb Shop
herb:
counter set 42
setvariable steal #Item
goto %stealing%goshophs

47:
#Flower Shop
florist:
counter set 47
setvariable steal #Item
goto %stealing%goshopfs

55:
#Cobbler
cobbler:
counter set 55
setvariable steal #Item
goto %stealing%goshopco

60:
#Stitchery
stitchery:
counter set 60
setvariable steal #Item
goto %stealing%goshopst

63:
#Gem Shop
gem:
counter set 63
setvariable steal #Item
goto %stealing%goshopgs

77:
#Haberdashery
haberdashery:
counter set 77
setvariable steal #Item
goto %stealing%goshopha

82:
#Artifacter
Artifacter:
counter set 82
setvariable steal #Item
goto %stealing%goshopar

#79:
#Trader
trader:
counter set 79:
setvariable steal #Item
goto %stealing%goguild
stealgoguild:
move go door
move e
goto inshop

79:
counter add 2
goto %c

beginscript:
ADDTOHIGHLIGHTNAMES string="SetVariable:" foreColor=black highlightEntireLine=True
ADDTOHIGHLIGHTNAMES string="DeleteVariable:" foreColor=black highlightEntireLine=True
ADDTOHIGHLIGHTNAMES string="not defined.]" foreColor=black highlightEntireLine=True
put set !desc
setvariable stealing steal
setvariable cl cl1
setvariable bl bl1
setvariable cstealtimer %1
If_2 goto %2
goto 0

stealgoshopcs:
stealgoshopbs:
stealgoshopas:
stealgoshophs:
stealgoshopfs:
stealgoshopco:
stealgoshopst:
stealgoshopgs:
stealgoshopha:
stealgoshopar:
move go shop
goto inshop

######################## In Stores #############################

stealinshop:
inshop:
tap:
put poke %steal
  match tap ...wait 
  match leaving Poke what?
  match hide1 what were you referring to?
  match hide1 I could not find what you
  match hide1 Going around poking things 
 matchwait

hide1:
put hide
  match hide1 ...wait
  match hide2 discovers you, ruining your hiding place!
  match hide1 Sorry, you may only type 
  match hiden1 You look around, but can't see any 
  match hiden1 Eh?  But you're already hidden!
  match hiden1 You melt into the background
  match hiden1 You blend in with your surroundings
 matchwait

hiden1:
put steal %steal %steal2
  match hiden1 ...wait
  match hiden1 Sorry, you may only type 
  match cleaving and begins to shout loudly for help
  match leaving You haven't picked something to steal!
  match hiden2 roundtime
  match hide2 Moving nonchalantly, you manage 
 matchwait

hide2:
put hide
  match hide2 ...wait
  match hide2 Sorry, you may only type 
  match hiden2 You look around, but can't see any 
  match hiden2 Eh?  But you're already hidden!
  match hiden2 You melt into the background
  match hiden2 You blend in with your surroundings
 matchwait

hiden2:
put steal %steal %steal2
  match hiden2 ...wait
  match hiden2 Sorry, you may only type 
  match cleaving and begins to shout loudly for help
  match stow roundtime
  match stow Moving nonchalantly, you manage 
 matchwait

stow:
pause 1
pause 1
put stow left
wait
put stow right
wait
ahide1:
put hide
  match ahide1 ...wait
  match ahide2 discovers you, ruining your hiding place!
  match ahide1 Sorry, you may only type 
  match ahiden1 You look around, but can't see any 
  match ahiden1 Eh?  But you're already hidden!
  match ahiden1 You melt into the background
  match ahiden1 You blend in with your surroundings
 matchwait

ahiden1:
put steal %steal %steal2
  match ahiden1 ...wait
  match ahiden1 Sorry, you may only type 
  match bleaving anything useful from this trivial theft
  match cleaving and begins to shout loudly for help
  match leaving You haven't picked something to steal!
  match ahiden2 roundtime
  match ahide2 Moving nonchalantly, you manage 
 matchwait

ahide2:
put hide
  match ahide2 ...wait
  match ahide2 Sorry, you may only type 
  match ahiden2 You look around, but can't see any 
  match ahiden2 Eh?  But you're already hidden!
  match ahiden2 You melt into the background
  match ahiden2 You blend in with your surroundings
 matchwait

ahiden2:
put steal %steal %steal2
  match ahiden2 ...wait
  match ahiden2 Sorry, you may only type 
  match cleaving and begins to shout loudly for help
  match bleaving anything useful from this trivial theft
  match leaving roundtime
  match leaving Moving nonchalantly, you manage 
 matchwait

leaving:
deletevariable steal2
pause 1
put ou
wait
put stow left
wait
put stow right
wait
counter add 1
goto %c

######################## Caught Stealing ########################

cleaving:
goto %cl
cl1:
setvariable busted1 %steal
setvariable cl cl2
goto leaving
cl2:
setvariable busted2 %steal
setvariable cl cl3
goto leaving
cl3:
setvariable busted3 %steal
setvariable cl cl4
goto leaving
cl4:
setvariable busted4 %steal
setvariable cl cl5
goto leaving
cl5:
setvariable busted5 %steal
setvariable cl cl6
goto leaving

cl6:
Echo You've been caught 6 times.  You need to quit stealing
exit

######################## Bored Stealing ########################

bleaving:
goto %bl
bl1:
setvariable bored1 %steal
setvariable bl bl2
goto leaving
bl2:
setvariable bored2 %steal
setvariable bl bl3
goto leaving
bl3:
setvariable bored3 %steal
setvariable bl bl4
goto leaving
bl4:
setvariable bored4 %steal
setvariable bl bl5
goto leaving
bl5:
setvariable bored5 %steal
setvariable bl bl6
goto leaving

bl6:
Echo You've been Bored 6 times.  You need to adjust your stolen items
exit

########################## NPCS #############################

foundnpc:
put look
  match veteran war veteran
  match minstrel wandering minstrel
  match beggar blind beggar
  match %c obvious paths
  match %c obvious exits
 matchwait

######################## Begin Minstrel ##########################

minstrel:
echo mins
goto stealmins%stealmins

stealmins:
put steal mins
  match stealmins ...wait
  match stealmins1 roundtime
  match caughtmins yell for help
  match %c You haven't picked something to steal!
  match %c steal here
  match %c referring to
 matchwait

caughtmins:
setvariable stealminsc yes
setvariable stealmins 5
goto %c

stealmins1:
setvariable stealmins 2
put steal mins
  match stealmins1 ...wait
  match %c You haven't picked something to steal!
  match stealmins2 roundtime
  match caughtmins yell for help
matchwait

stealmins2:
setvariable stealmins 3
put steal mins
  match stealmins2 ...wait
  match %c You haven't picked something to steal!
  match stealmins3 roundtime
  match caughtmins yell for help
 matchwait

stealmins3:
setvariable stealmins 4
put steal mins
  match stealmins3 ...wait
  match %c You haven't picked something to steal!
  match stealmins4 roundtime
  match caughtmins yell for help
 matchwait

stealmins4:
setvariable stealmins 5
put steal mins
  match stealmins4 ...wait
  match %c You haven't picked something to steal!
  match stealmins5 roundtime
  match caughtmins yell for help
 matchwait

stealmins5:
goto %c

####################### Begin Veteran ###########################

veteran:
echo vetr
goto stealvetr%stealvetr

stealvetr:
put steal veteran
  match stealvetr ...wait
  match stealvetr1 roundtime
  match caughtvetr yell for help
  match %c steal here
  match %c You haven't picked something to steal!
 matchwait

caughtvetr:
setvariable stealvetrc yes
setvariable stealvetr 5
goto %c

stealvetr1:
setvariable stealvetr 2
put steal veteran
  match stealvetr1 ...wait
  match stealvetr2 roundtime
  match caughtvetr yell for help
  match %c You haven't picked something to steal!
matchwait

stealvetr2:
setvariable stealvetr 3
put steal veteran
  match stealvetr2 ...wait
  match stealvetr3 roundtime
  match caughtvetr yell for help
  match %c You haven't picked something to steal!
 matchwait

stealvetr3:
setvariable stealvetr 4
put steal veteran
  match stealvetr3 ...wait
  match stealvetr4 roundtime
  match caughtvetr yell for help
  match %c You haven't picked something to steal!
 matchwait

stealvetr4:
setvariable stealvetr 5
put steal veteran
  match stealvetr4 ...wait
  match stealvetr5 roundtime
  match caughtvetr yell for help
  match %c You haven't picked something to steal!
 matchwait

stealvetr5:
goto %c

######################## Begin Beggar ##########################

beggar:
echo begg
goto stealbegg%stealbegg

stealbegg:
put steal beggar
  match stealbegg ...wait
  match stealbegg1 roundtime
  match caughtbegg yell for help
  match %c steal here
  match %c You haven't picked something to steal!
 matchwait

caughtbegg:
setvariable stealbeggc yes
setvariable stealbegg 5
goto %c

stealbegg1:
setvariable stealbegg 2
put steal beggar
  match stealbegg1 ...wait
  match stealbegg2 roundtime
  match caughtbegg yell for help
  match %c You haven't picked something to steal!
matchwait

stealbegg2:
setvariable stealbegg 3
put steal beggar
  match stealbegg2 ...wait
  match stealbegg3 roundtime
  match caughtbegg yell for help
  match %c You haven't picked something to steal!
 matchwait

stealbegg3:
setvariable stealbegg 4
put steal beggar
  match stealbegg3 ...wait
  match stealbegg4 roundtime
  match caughtbegg yell for help
  match %c You haven't picked something to steal!
 matchwait

stealbegg4:
setvariable stealbegg 5
put steal beggar
  match stealbegg4 ...wait
  match stealbegg5 roundtime
  match caughtbegg yell for help
  match %c You haven't picked something to steal!
 matchwait

stealbegg5:
goto %c

########################## Odd Stores ##########################

32:
# Leaving Tanner's Shed
counter add 1
move e
move e
move out
goto %c

80:
#Leaving Trader's Guild
counter add 1
move w
move o
goto %c


######################## MOVEMENTS ###########################


9:
10:
12:
19:
23:
24:
25:
28:
29:
38:
48:
54:
69:
70:
76:
81:
83:
84:
85:
86:
counter add 1
n:
put n
  match n ...wait
  match foundnpc war veteran
  match foundnpc wandering minstrel
  match foundnpc blind beggar
  match %c obvious paths:
 matchwait

13:
14:
15:
17:
18:
21:
33:
35:
36:
37:
40:
43:
49:
51:
52:
53:
87:
counter add 1
e:
put e
  match e ...wait
  match foundnpc war veteran
  match foundnpc wandering minstrel
  match foundnpc blind beggar
  match %c obvious paths:
  match %c Obvious exits:
 matchwait

1:
34:
41:
44:
46:
50:
56:
57:
62:
64:
65:
counter add 1
s:
put s
  match s ...wait
  match foundnpc war veteran
  match foundnpc wandering minstrel
  match foundnpc blind beggar
  match %c obvious paths:
 matchwait

67:
58:
counter add 1
sw:
put sw
  match sw ...wait
  match foundnpc war veteran
  match foundnpc wandering minstrel
  match foundnpc blind beggar
  match %c obvious paths:
 matchwait

2:
4:
5:
7:
8:
26:
27:
30:
45:
59:
61:
66:
71:
73:
74:
75:
78:
counter add 1
w:
put w
  match w ...wait
  match foundnpc war veteran
  match foundnpc wandering minstrel
  match foundnpc blind beggar
  match %c obvious paths:
 matchwait

72:
counter add 1
nw:
put nw
  match nw ...wait
  match foundnpc war veteran
  match foundnpc wandering minstrel
  match foundnpc blind beggar
  match %c obvious paths:
 matchwait

68:
counter add 1
gobridge:
put go bridge
  match gobridge ...wait
  match foundnpc war veteran
  match foundnpc wandering minstrel
  match foundnpc blind beggar
  match %c obvious paths:
 matchwait

######################## Begin Pawn Shop ########################


88:
move go shop
pause 1
pawn:
setvariable stealing pawn
goto 0
pawninshop:
counter set 3
setvariable selltrash sell
goto selling

pawngoshopcs:
counter set 16
setvariable selltrash sell
goto selling

pawngoshopbs:
counter set 39
setvariable selltrash sell
goto selling

pawngoshopas:
counter set 42
setvariable selltrash sell
goto selling

pawngoshophs:
counter set 47
setvariable selltrash sell
goto selling

pawngoshopfs:
counter set 55
setvariable selltrash sell
goto selling

pawngoshopco:
counter set 60
setvariable selltrash sell
goto selling

pawngoshopst:
counter set 63
setvariable selltrash sell
goto selling

pawngoshopgs:
counter set 6
setvariable selltrash sell
goto selling

pawngobath:
counter set 11
setvariable selltrash sell
goto selling

pawngodoorls:
counter set 20
setvariable selltrash sell
goto selling

pawngoarmory:
counter set 22
setvariable selltrash sell
goto selling

pawngoweapon:
counter set 31
setvariable selltrash sell
goto selling

pawngoshed:
counter set 77
setvariable selltrash sell
goto selling

pawngoshopha:
counter set 82
setvariable selltrash sell
goto selling

pawngoshopar:
counter set 100
setvariable selltrash sell
goto selling

pawngoguild:
counter set 100
setvariable selltrash sell
goto selling

selling:
put get my %steal in my %backcase
  match %selltrash you get
  match %selltrash Lucky you, you've picked up the last one!
  match %c referring to
  match %c Please rephrase that command.
 matchwait

sell:
put sell %steal
  match trash shakes his head and says
  match selling You sell your
 matchwait

trash:
setvariable selltrash trashing
trashing:
put put %steal in bucket
wait
goto selling

######################## Begin NPC Report ########################

100:
goto endsm%stealmins

endsm1:
endsm2:
endsm3:
endsm4:
endsm5:
Echo Stole from Minstrel %stealmins Times!
goto sm%stealminsc
smyes:
Echo Caught Stealing From the Minstrel!
sm:
deletevariable stealmins
deletevariable stealminsc
goto endsm%stealmins

endsm:
goto endsv%stealvetr
endsv1:
endsv2:
endsv3:
endsv4:
endsv5:
Echo Stole from Veteran %stealvetr Times!
goto sv%stealminsc
svyes:
Echo Caught Stealing From the Veteran!
sv:
deletevariable stealvetr
deletevariable stealvetrc
goto endsv%stealvetr

endsv:
goto endsb%stealbegg
endsb1:
endsb2:
endsb3:
endsb4:
endsb5:
Echo Stole from Beggar %stealbegg Times!
goto sb%stealminsc
sbyes:
Echo Caught Stealing From the Beggar!
sb:
deletevariable stealbegg
deletevariable stealbeggc
goto endsb%stealbegg

######################## Begin Caught Report ######################

endsb:
goto ac%cl

accl6:
Echo Caught Stealing %busted5
deletevariable busted5
accl5:
Echo Caught Stealing %busted4
deletevariable busted4
accl4:
Echo Caught Stealing %busted3
deletevariable busted3
accl3:
Echo Caught Stealing %busted2
deletevariable busted2
accl2:
Echo Caught Stealing %busted1
deletevariable busted1
goto accl1



####################### Begin Bored Report ########################


accl1:
goto ab%bl

abbl6:
Echo Bored With Stealing %bored5
deletevariable bored5
abbl5:
Echo Bored With Stealing %bored4
deletevariable bored4
abbl4:
Echo Bored With Stealing %bored3
deletevariable bored3
abbl3:
Echo Bored With Stealing %bored2
deletevariable bored2
abbl2:
Echo Bored With Stealing %bored1
deletevariable bored1
goto abbl1

######################## Done Stealing! ########################

abbl1:
deletevariable bl
deletevariable cl
deletevariable steal
deletevariable steal2
deletevariable stealing
ADDTOHIGHLIGHTNAMES string="SetVariable:" foreColor=yellow highlightEntireLine=True
ADDTOHIGHLIGHTNAMES string="DeleteVariable:" foreColor=yellow highlightEntireLine=True
ADDTOHIGHLIGHTNAMES string="not defined.]" foreColor=yellow highlightEntireLine=True
put set desc
exit
Personal tools
SUPPORT ELANTHIPEDIA