Cmud stealing crossing (script)

From Elanthipedia
Jump to navigation Jump to search
Cmud stealing crossing (script)
Category skills,thievery
Front-end cmud
Author Tirsten


General Information

This script start 1 west of the ne gate, steal predefined items, and return 1 west of the negate
starts with echo startcrossingstealingfromnegate

Front end: Cmud

Item steal management Script portion

<trigger priority="6590" id="659">
  <pattern>^stealcrossing (%x) (*)$</pattern>
  <value>#var itemtosteam %2
    #var shoptosteal %1
    #if (@shoptosteal == "tanner") {go shed;w;w} {
      #if (@shoptosteal == "lockpick") {go door} {
      #if (@shoptosteal == "horror") {go arch} {
      #if (@shoptosteal == "generalstore") {go store} {
      #if (@shoptosteal == "stitchery") {go stitch} {
      #if (@shoptosteal == "simplysuv1") {ne} {
      #if (@shoptosteal == "simplysuv2") {nw} {
      #if (@shoptosteal == "curioshop") {w} {
      #if (@shoptosteal == "ravens") {go cur} {
      #if (@shoptosteal == "emmiline3") {go arch} {
      #if (@shoptosteal == "emmiline1") {go door} {
      #if (@shoptosteal == "emmiline2") {w} {
      #if (@shoptosteal == "haberdashery") {go hab} {
      #if (@shoptosteal == "collector") {go wagon} {
      #if (@shoptosteal == "bathhouse") {go bath} {
      #if (@shoptosteal == "weapon") {go weapon} {
      #if (@shoptosteal == "armor") {go armor} {go shop}}}}}}}}}}}}}}}}}
      </value>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>#if (@shoptosteal == "tanner" || @shoptosteal == "horror" || @shoptosteal == "simplysuv1" || @shoptosteal == "simplysuv2" || @shoptosteal == "niftygift" || @shoptosteal == "curioshop") {
      echo Roundtime: 1 sec.
      } {hide}
    </value>
  </trigger>
  <trigger>
    <pattern>^Roundtime: (%d) sec.$</pattern>
    <value>#alarm +%int(%1) {steal @itemtosteam}</value>
  </trigger>
  <trigger>
    <pattern>^Roundtime: (%d) sec.$</pattern>
    <value>#alarm +%int(%1) {#if (@shoptosteal == "emmiline3") {drop stylus} {#if (%numwords(@itemtosteam ) > 1) {drop @itemtosteam} {drop @itemtosteam}}}</value>
  </trigger>
  <trigger>
    <pattern>^You drop</pattern>
    <value>#if (@shoptosteal == "tanner") {e;e;out} {
      #if (@shoptosteal == "simplysuv1") {sw} {
      #if (@shoptosteal == "horror") {go arch} {
      #if (@shoptosteal == "simplysuv2") {se} {
      #if (@shoptosteal == "curioshop") {e} {
      #if (@shoptosteal == "ravens") {go cur} {
      #if (@shoptosteal == "emmiline3") {go arch} {#if (@shoptosteal == "emmiline1") {look} {#if (@shoptosteal == "emmiline2") {e} {out}}}}}}}}}</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo completedstealloop</value>
  </trigger>
</trigger>

Movement steal management Script portion

<trigger priority="5800" id="580">
  <pattern>^startcrossingstealingfromnegate$</pattern>
  <value>#var canistealcrossing 0
#alarm +7200 {
  #var canistealcrossing 1
  }
w</value>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go gate</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>ne</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go path</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go step</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing emmiline1 slippers</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>echo stealcrossing emmiline2 red compendium</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>echo stealcrossing emmiline3 ebony stylus on box on shelf</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>go door</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go step</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go path</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>sw</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go gate</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing alchemist portable stove</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing tanner tailor kit</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go bridge</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing artifacter cambrinth armband</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing haberdashery Coat</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go build</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>ne</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go door</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>nw</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>knock knock</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing ravens cotton napkins</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>go door</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>se</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go door</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>sw</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go door</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>se</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go pier</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>se</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go shop</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing horror beetle pin</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>go door</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go shop</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing simplysuv1 lace fan</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>echo stealcrossing simplysuv2 castle pillow</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>out</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing niftygift boots</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>nw</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go gate</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>ne</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>se</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing collector coll case</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>se</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>se</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go ver</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go door</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go arch</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>climb step</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go pass</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go door</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing curioshop iron band</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>out</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>climb step</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go arch</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go door</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>out</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>nw</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>nw</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>nw</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>go bridge</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>nw</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing cleric Silver Bell</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing bathhouse thin bathrobe</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>w</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing lockpick lockpick ring</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing bard Repair Kit</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing armor target shield</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing weapon cavalry sabre</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>s</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing generalstore portable stove</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo stealcrossing stitchery Tiered Skirt</value>
  </trigger>
  <trigger>
    <pattern>^completedstealloop$</pattern>
    <value>e</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>ne</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>n</value>
  </trigger>
  <trigger>
    <pattern>^~[*~]$</pattern>
    <value>echo donewithcrossingstealing</value>
  </trigger>
</trigger>