SHARE
TWEET

Untitled

a guest May 19th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Cuffing By Using Objects
  2. Uncuffing By Sitting Down, and Using Objects
  3.  
  4. ---Set-Up-------------------------------------------------------------------------------
  5. (0:9) When a furre arrives in the dream,
  6.             (5:603) memorize that the PhoenixSpeak info {My Captive} about the triggering furre will now be {Empty}.
  7.  
  8. (0:16) When a furre uses any object,
  9.             (5:350) set variable %CaptorPosition to the X,Y position the triggering furre (moved from/is standing at).
  10.             (5:350) set variable %CaptivePositionNE to the X,Y position the triggering furre (moved from/is standing at).
  11.             (5:350) set variable %CaptivePositionSE to the X,Y position the triggering furre (moved from/is standing at).
  12.             (5:350) set variable %CaptivePositionSW to the X,Y position the triggering furre (moved from/is standing at).
  13.             (5:350) set variable %CaptivePositionNW to the X,Y position the triggering furre (moved from/is standing at).
  14.             (5:352) move the position in variable %CaptivePositionNE northeast (up and right) 1 step(s).
  15.             (5:353) move the position in variable %CaptivePositionSE southeast (down and right) 1 step(s).
  16.             (5:354) move the position in variable %CaptivePositionSW southwest (down and left) 1 step(s).
  17.             (5:355) move the position in variable %CaptivePositionNW northwest (up and left) 1 step(s).
  18.  
  19. (0:1) Whenever somebody moves,
  20.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  21.             (5:350) set variable %CaptorPosition to the X,Y position the triggering furre (moved from/is standing at).
  22.             (5:350) set variable %CaptivePositionNE to the X,Y position the triggering furre (moved from/is standing at).
  23.             (5:350) set variable %CaptivePositionSE to the X,Y position the triggering furre (moved from/is standing at).
  24.             (5:350) set variable %CaptivePositionSW to the X,Y position the triggering furre (moved from/is standing at).
  25.             (5:350) set variable %CaptivePositionNW to the X,Y position the triggering furre (moved from/is standing at).
  26.             (5:352) move the position in variable %CaptivePositionNE northeast (up and right) 1 step(s).
  27.             (5:353) move the position in variable %CaptivePositionSE southeast (down and right) 1 step(s).
  28.             (5:354) move the position in variable %CaptivePositionSW southwest (down and left) 1 step(s).
  29.             (5:355) move the position in variable %CaptivePositionNW northwest (up and left) 1 step(s).
  30.             (5:613) remember the PhoenixSpeak info {My Captive} about the triggering furre, and put it in message ~MyCaptive.
  31.  
  32. ---Checks-------------------------------------------------------------------------------
  33.    Check To See If A Furre Is There
  34. (0:1) Whenever somebody moves,
  35.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  36.    (1:1100) and there's a furre at (%CaptivePositionNE),
  37.             (5:51) make any furre standing at (%CaptivePositionNE) become the new triggering furre.
  38.             (5:252) set message ~CaptiveNE to the triggering furre's name.
  39.  
  40. (0:1) Whenever somebody moves,
  41.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  42.    (1:1100) and there's a furre at (%CaptivePositionSE),
  43.             (5:51) make any furre standing at (%CaptivePositionSE) become the new triggering furre.
  44.             (5:252) set message ~CaptiveSE to the triggering furre's name.
  45.  
  46. (0:1) Whenever somebody moves,
  47.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  48.    (1:1100) and there's a furre at (%CaptivePositionSW),
  49.             (5:51) make any furre standing at (%CaptivePositionSW) become the new triggering furre.
  50.             (5:252) set message ~CaptiveSW to the triggering furre's name.
  51.  
  52. (0:1) Whenever somebody moves,
  53.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  54.    (1:1100) and there's a furre at (%CaptivePositionNW),
  55.             (5:51) make any furre standing at (%CaptivePositionNW) become the new triggering furre.
  56.             (5:252) set message ~CaptiveNW to the triggering furre's name.
  57.  
  58.    Check To See If That Furre Is The Specific Furres Captive
  59. (0:1) Whenever somebody moves,
  60.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  61.    (1:1100) and there's a furre at (%CaptivePositionNE),
  62.    (1:74) and message ~MyCaptive matches message ~CaptiveNE,
  63.             (5:250) set message ~WhoToMove to {CaptiveNE}.
  64.  
  65. (0:1) Whenever somebody moves,
  66.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  67.    (1:1100) and there's a furre at (%CaptivePositionSE),
  68.    (1:74) and message ~MyCaptive matches message ~CaptiveSE,
  69.             (5:250) set message ~WhoToMove to {CaptiveSE}.
  70.  
  71. (0:1) Whenever somebody moves,
  72.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  73.    (1:1100) and there's a furre at (%CaptivePositionSW),
  74.    (1:74) and message ~MyCaptive matches message ~CaptiveSW,
  75.             (5:250) set message ~WhoToMove to {CaptiveSW}.
  76.  
  77. (0:1) Whenever somebody moves,
  78.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  79.    (1:1100) and there's a furre at (%CaptivePositionNW),
  80.    (1:74) and message ~MyCaptive matches message ~CaptiveNW,
  81.             (5:250) set message ~WhoToMove to {CaptiveNW}.
  82.  
  83. ---Check Using An Object----------------------------------------------------------------
  84.    Check To See If A Furre Is There
  85. (0:16) When a furre uses any object,
  86.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  87.    (1:1100) and there's a furre at (%CaptivePositionNE),
  88.             (5:51) make any furre standing at (%CaptivePositionNE) become the new triggering furre.
  89.             (5:252) set message ~CaptiveNE to the triggering furre's name.
  90.  
  91. (0:16) When a furre uses any object,
  92.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  93.    (1:1100) and there's a furre at (%CaptivePositionSE),
  94.             (5:51) make any furre standing at (%CaptivePositionSE) become the new triggering furre.
  95.             (5:252) set message ~CaptiveSE to the triggering furre's name.
  96.  
  97. (0:16) When a furre uses any object,
  98.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  99.    (1:1100) and there's a furre at (%CaptivePositionSW),
  100.             (5:51) make any furre standing at (%CaptivePositionSW) become the new triggering furre.
  101.             (5:252) set message ~CaptiveSW to the triggering furre's name.
  102.  
  103. (0:16) When a furre uses any object,
  104.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  105.    (1:1100) and there's a furre at (%CaptivePositionNW),
  106.             (5:51) make any furre standing at (%CaptivePositionNW) become the new triggering furre.
  107.             (5:252) set message ~CaptiveNW to the triggering furre's name.
  108.  
  109.    Check To See If That Furre Is The Specific Furres Captive
  110. (0:16) When a furre uses any object,
  111.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  112.    (1:1100) and there's a furre at (%CaptivePositionNE),
  113.    (1:74) and message ~MyCaptive matches message ~CaptiveNE,
  114.             (5:250) set message ~WhoToMove to {CaptiveNE}.
  115.  
  116. (0:16) When a furre uses any object,
  117.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  118.    (1:1100) and there's a furre at (%CaptivePositionSE),
  119.    (1:74) and message ~MyCaptive matches message ~CaptiveSE,
  120.             (5:250) set message ~WhoToMove to {CaptiveSE}.
  121.  
  122. (0:16) When a furre uses any object,
  123.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  124.    (1:1100) and there's a furre at (%CaptivePositionSW),
  125.    (1:74) and message ~MyCaptive matches message ~CaptiveSW,
  126.             (5:250) set message ~WhoToMove to {CaptiveSW}.
  127.  
  128. (0:16) When a furre uses any object,
  129.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  130.    (1:1100) and there's a furre at (%CaptivePositionNW),
  131.    (1:74) and message ~MyCaptive matches message ~CaptiveNW,
  132.             (5:250) set message ~WhoToMove to {CaptiveNW}.
  133.  
  134. ---Cuffing------------------------------------------------------------------------------
  135.    Northeast
  136. (0:16) When a furre uses any object,
  137.    (1:13) and the triggering furre is facing northeast (up and right),
  138.    (1:175) and message ~Captives does not contain {[FURRE]} anywhere within it,
  139.    (1:175) and message ~Captors does not contain {[FURRE]} anywhere within it,
  140.    (1:1005) and the triggering furre is standing,
  141.    (1:1100) and there's a furre at (%CaptivePositionNE),
  142.             (5:257) take message ~Captors and add {"[FURRE]"} onto the end of it.
  143.             (5:252) set message ~TheCaptor to the triggering furre's name.
  144.             (5:51) make any furre standing at (%CaptivePositionNE) become the new triggering furre.
  145.             (5:257) take message ~Captives and add {"[FURRE]"} onto the end of it.
  146.             (5:252) set message ~TheCaptive to the triggering furre's name.
  147.             (5:604) memorize that the PhoenixSpeak info {My Captive} about the furre named {~TheCaptor} will now be {~TheCaptive}.
  148.             (5:205) emit message {~TheCaptive has been successfully cuffed!} to the furre named {~TheCaptor} if they're in the dream.
  149.             (5:205) emit message {~TheCaptor has successfully cuffed you!} to the furre named {~TheCaptive} if they're in the dream.
  150.  
  151.    Southeast
  152. (0:16) When a furre uses any object,
  153.    (1:14) and the triggering furre is facing southeast (down and right),
  154.    (1:175) and message ~Captives does not contain {[FURRE]} anywhere within it,
  155.    (1:175) and message ~Captors does not contain {[FURRE]} anywhere within it,
  156.    (1:1005) and the triggering furre is standing,
  157.    (1:1100) and there's a furre at (%CaptivePositionSE),
  158.             (5:257) take message ~Captors and add {"[FURRE]"} onto the end of it.
  159.             (5:252) set message ~TheCaptor to the triggering furre's name.
  160.             (5:51) make any furre standing at (%CaptivePositionSE) become the new triggering furre.
  161.             (5:257) take message ~Captives and add {"[FURRE]"} onto the end of it.
  162.             (5:252) set message ~TheCaptive to the triggering furre's name.
  163.             (5:604) memorize that the PhoenixSpeak info {My Captive} about the furre named {~TheCaptor} will now be {~TheCaptive}.
  164.             (5:205) emit message {~TheCaptive has been successfully cuffed!} to the furre named {~TheCaptor} if they're in the dream.
  165.             (5:205) emit message {~TheCaptor has successfully cuffed you!} to the furre named {~TheCaptive} if they're in the dream.
  166.  
  167.    Southwest
  168. (0:16) When a furre uses any object,
  169.    (1:15) and the triggering furre is facing southwest (down and left),
  170.    (1:175) and message ~Captives does not contain {[FURRE]} anywhere within it,
  171.    (1:175) and message ~Captors does not contain {[FURRE]} anywhere within it,
  172.    (1:1005) and the triggering furre is standing,
  173.    (1:1100) and there's a furre at (%CaptivePositionSW),
  174.             (5:257) take message ~Captors and add {"[FURRE]"} onto the end of it.
  175.             (5:252) set message ~TheCaptor to the triggering furre's name.
  176.             (5:51) make any furre standing at (%CaptivePositionSW) become the new triggering furre.
  177.             (5:257) take message ~Captives and add {"[FURRE]"} onto the end of it.
  178.             (5:252) set message ~TheCaptive to the triggering furre's name.
  179.             (5:604) memorize that the PhoenixSpeak info {My Captive} about the furre named {~TheCaptor} will now be {~TheCaptive}.
  180.             (5:205) emit message {~TheCaptive has been successfully cuffed!} to the furre named {~TheCaptor} if they're in the dream.
  181.             (5:205) emit message {~TheCaptor has successfully cuffed you!} to the furre named {~TheCaptive} if they're in the dream.
  182.  
  183.    Northwest
  184. (0:16) When a furre uses any object,
  185.    (1:16) and the triggering furre is facing northwest (up and left),
  186.    (1:175) and message ~Captives does not contain {[FURRE]} anywhere within it,
  187.    (1:175) and message ~Captors does not contain {[FURRE]} anywhere within it,
  188.    (1:1005) and the triggering furre is standing,
  189.    (1:1100) and there's a furre at (%CaptivePositionNW),
  190.             (5:257) take message ~Captors and add {"[FURRE]"} onto the end of it.
  191.             (5:252) set message ~TheCaptor to the triggering furre's name.
  192.             (5:51) make any furre standing at (%CaptivePositionNW) become the new triggering furre.
  193.             (5:257) take message ~Captives and add {"[FURRE]"} onto the end of it.
  194.             (5:252) set message ~TheCaptive to the triggering furre's name.
  195.             (5:604) memorize that the PhoenixSpeak info {My Captive} about the furre named {~TheCaptor} will now be {~TheCaptive}.
  196.             (5:205) emit message {~TheCaptive has been successfully cuffed!} to the furre named {~TheCaptor} if they're in the dream.
  197.             (5:205) emit message {~TheCaptor has successfully cuffed you!} to the furre named {~TheCaptive} if they're in the dream.
  198.  
  199. ---Uncuffing----------------------------------------------------------------------------
  200.    Northeast
  201. (0:16) When a furre uses any object,
  202.    (1:13) and the triggering furre is facing northeast (up and right),
  203.    (1:75) and message ~Captors contains {[FURRE]} somewhere within it,
  204.    (1:75) and message ~WhoToMove contains {CaptiveNE} somewhere within it,
  205.    (1:1006) and the triggering furre is sitting,
  206.    (1:1100) and there's a furre at (%CaptivePositionNE),
  207.             (5:278) remove the first 1 copies of {"[FURRE]"} from message ~Captors.
  208.             (5:252) set message ~TheCaptor to the triggering furre's name.
  209.             (5:51) make any furre standing at (%CaptivePositionNE) become the new triggering furre.
  210.             (5:278) remove the first 1 copies of {"[FURRE]"} from message ~Captives.
  211.             (5:252) set message ~TheCaptive to the triggering furre's name.
  212.             (5:604) memorize that the PhoenixSpeak info {My Captive} about the furre named {~TheCaptor} will now be {Empty}.
  213.             (5:205) emit message {~TheCaptive has been successfully uncuffed!} to the furre named {~TheCaptor} if they're in the dream.
  214.             (5:205) emit message {~TheCaptor has successfully uncuffed you!} to the furre named {~TheCaptive} if they're in the dream.
  215.  
  216.    Southeast
  217. (0:16) When a furre uses any object,
  218.    (1:14) and the triggering furre is facing southeast (down and right),
  219.    (1:75) and message ~Captors contains {[FURRE]} somewhere within it,
  220.    (1:1006) and the triggering furre is sitting,
  221.    (1:1100) and there's a furre at (%CaptivePositionSE),
  222.    (1:75) and message ~WhoToMove contains {CaptiveSE} somewhere within it,
  223.             (5:278) remove the first 1 copies of {"[FURRE]"} from message ~Captors.
  224.             (5:252) set message ~TheCaptor to the triggering furre's name.
  225.             (5:51) make any furre standing at (%CaptivePositionSE) become the new triggering furre.
  226.             (5:278) remove the first 1 copies of {"[FURRE]"} from message ~Captives.
  227.             (5:252) set message ~TheCaptive to the triggering furre's name.
  228.             (5:604) memorize that the PhoenixSpeak info {My Captive} about the furre named {~TheCaptor} will now be {Empty}.
  229.             (5:205) emit message {~TheCaptive has been successfully uncuffed!} to the furre named {~TheCaptor} if they're in the dream.
  230.             (5:205) emit message {~TheCaptor has successfully uncuffed you!} to the furre named {~TheCaptive} if they're in the dream.
  231.  
  232.    Southwest
  233. (0:16) When a furre uses any object,
  234.    (1:15) and the triggering furre is facing southwest (down and left),
  235.    (1:75) and message ~Captors contains {[FURRE]} somewhere within it,
  236.    (1:1006) and the triggering furre is sitting,
  237.    (1:1100) and there's a furre at (%CaptivePositionSW),
  238.    (1:75) and message ~WhoToMove contains {CaptiveSW} somewhere within it,
  239.             (5:278) remove the first 1 copies of {"[FURRE]"} from message ~Captors.
  240.             (5:252) set message ~TheCaptor to the triggering furre's name.
  241.             (5:51) make any furre standing at (%CaptivePositionSW) become the new triggering furre.
  242.             (5:278) remove the first 1 copies of {"[FURRE]"} from message ~Captives.
  243.             (5:252) set message ~TheCaptive to the triggering furre's name.
  244.             (5:604) memorize that the PhoenixSpeak info {My Captive} about the furre named {~TheCaptor} will now be {Empty}.
  245.             (5:205) emit message {~TheCaptive has been successfully uncuffed!} to the furre named {~TheCaptor} if they're in the dream.
  246.             (5:205) emit message {~TheCaptor has successfully uncuffed you!} to the furre named {~TheCaptive} if they're in the dream.
  247.  
  248.    Northwest
  249. (0:16) When a furre uses any object,
  250.    (1:16) and the triggering furre is facing northwest (up and left),
  251.    (1:75) and message ~Captors contains {[FURRE]} somewhere within it,
  252.    (1:1006) and the triggering furre is sitting,
  253.    (1:1100) and there's a furre at (%CaptivePositionNW),
  254.    (1:75) and message ~WhoToMove contains {CaptiveNW} somewhere within it,
  255.             (5:278) remove the first 1 copies of {"[FURRE]"} from message ~Captors.
  256.             (5:252) set message ~TheCaptor to the triggering furre's name.
  257.             (5:51) make any furre standing at (%CaptivePositionNW) become the new triggering furre.
  258.             (5:278) remove the first 1 copies of {"[FURRE]"} from message ~Captives.
  259.             (5:252) set message ~TheCaptive to the triggering furre's name.
  260.             (5:604) memorize that the PhoenixSpeak info {My Captive} about the furre named {~TheCaptor} will now be {Empty}.
  261.             (5:205) emit message {~TheCaptive has been successfully uncuffed!} to the furre named {~TheCaptor} if they're in the dream.
  262.             (5:205) emit message {~TheCaptor has successfully uncuffed you!} to the furre named {~TheCaptive} if they're in the dream.
  263.  
  264. ---Moving------------------------------------------------------------------------------
  265.    Captors Moving
  266.    Northeast
  267. (0:1) Whenever somebody moves,
  268.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  269.    (1:75) and message ~WhoToMove contains {CaptiveNE} somewhere within it,
  270.       (3:2) at position (%CaptivePositionNE) on the map,
  271.             (5:14) move the triggering furre to (%CaptivePosition) if there's nobody already there.
  272.  
  273.    Southeast
  274. (0:1) Whenever somebody moves,
  275.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  276.    (1:75) and message ~WhoToMove contains {CaptiveSE} somewhere within it,
  277.       (3:2) at position (%CaptivePositionSE) on the map,
  278.             (5:14) move the triggering furre to (%CaptivePosition) if there's nobody already there.
  279.  
  280.    Southwest
  281. (0:1) Whenever somebody moves,
  282.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  283.    (1:75) and message ~WhoToMove contains {CaptiveSW} somewhere within it,
  284.       (3:2) at position (%CaptivePositionSW) on the map,
  285.             (5:14) move the triggering furre to (%CaptivePosition) if there's nobody already there.
  286.  
  287.    Northwest
  288. (0:1) Whenever somebody moves,
  289.    (1:75) and message ~Captors contains {"[FURRE]"} somewhere within it,
  290.    (1:75) and message ~WhoToMove contains {CaptiveNW} somewhere within it,
  291.       (3:2) at position (%CaptivePositionNW) on the map,
  292.             (5:14) move the triggering furre to (%CaptivePosition) if there's nobody already there.
  293.  
  294.    Captives Moving
  295. (0:1) Whenever somebody moves,
  296.    (1:75) and message ~Captives contains {"[FURRE]"} somewhere within it,
  297.             (5:18) move the triggering furre back where they came from.
RAW Paste Data
Challenge yourself this year...
Learn something new in 2017
Top