(0:31) When a furre says {scan},
(5:350) set variable %posfur to the X,Y position the triggering furre (moved from/is standing at).
(0:1) Whenever somebody moves,
(1:5) and they successfully moved,
(1:19) and they (moved from/are standing at) position (%posfur),
(5:350) set variable %posfur to the X,Y position the triggering furre (moved from/is standing at).
(3:2) at position (%posfur) on the map,
(5:200) emit message {Scanning...} to whoever set off the trigger.
(5:50) set countdown timer 101 to go off in 3 seconds.
(5:50) set countdown timer 102 to go off in 4 seconds.
(0:50) When countdown timer 101 goes off,
(3:2) at position (%posfur) on the map,
(5:200) emit message {Scanning completed.} to whoever set off the trigger.
(0:1) Whenever somebody moves,
(1:5) and they successfully moved,
(1:11) and the triggering furre has got shared control (or is the dream owner),
(1:110) and the triggering furre is not the dream owner,
(5:351) set variable %sharepos to the X,Y position the triggering furre moved to.
(0:10) When a furre leaves the dream,
(1:19) and they (moved from/are standing at) position (%sharepos),
(5:300) set variable %sharepos to the value 0.
*No Share
(0:1) Whenever somebody moves,
(1:5) and they successfully moved,
(1:111) and the triggering furre hasn't got shared control (and is not the dream owner),
(5:351) set variable %nosharepos to the X,Y position the triggering furre moved to.
(0:10) When a furre leaves the dream,
(1:19) and they (moved from/are standing at) position (%nosharepos),
(5:300) set variable %nosharepos to the value 0.
*Owner
(0:1) Whenever somebody moves,
(1:5) and they successfully moved,
(1:10) and the triggering furre is the dream owner,
(5:351) set variable %owner to the X,Y position the triggering furre moved to.
(0:10) When a furre leaves the dream,
(1:19) and they (moved from/are standing at) position (%owner),
(5:300) set variable %owner to the value 0.
(0:1) Whenever somebody moves,
(1:19) and they (moved from/are standing at) position (%owner),
(1:110) and the triggering furre is not the dream owner,
(5:300) set variable %owner to the value 0.
**Resetting after giving share
(0:1) Whenever somebody moves,
(1:19) and they (moved from/are standing at) position (%sharepos),
(1:111) and the triggering furre hasn't got shared control (and is not the dream owner),
(5:300) set variable %sharepos to the value 0.
(0:1) Whenever somebody moves,
(1:19) and they (moved from/are standing at) position (%nosharepos),
(1:11) and the triggering furre has got shared control (or is the dream owner),
(5:300) set variable %nosharepos to the value 0.
**Emmiting after the Command (Main)
(0:50) When countdown timer 102 goes off,
(5:380) set variable %posfurf to the floor type at (%posfur).
(5:381) set variable %posfuro to the object type at (%posfur).
(3:2) at position (%posfur) on the map,
(5:200) emit message {Currently standing at Position (%posfur.x,%posfur.y).} to whoever set off the trigger.
(5:200) emit message {Currently standing on Object %posfuro } to whoever set off the trigger.
(5:200) emit message {Currently standing on Floor %posfurf } to whoever set off the trigger.
*Emitting Share
(0:50) When countdown timer 102 goes off,
(1:201) and variable %sharepos is greater than 1,
(3:2) at position (%posfur) on the map,
(5:200) emit message {The last furre who moved, With Share, is at position (%sharepos.x,%sharepos.y).} to whoever set off the trigger.
*Emmiting No Share
(0:50) When countdown timer 102 goes off,
(1:201) and variable %nosharepos is greater than 1,
(3:2) at position (%posfur) on the map,
(5:200) emit message {The last furre who moved, Without Share, is at position (%nosharepos.x,%nosharepos.y).} to whoever set off the trigger.
*Emitting Owner
(0:50) When countdown timer 102 goes off,
(1:201) and variable %owner is greater than 1,
(3:2) at position (%posfur) on the map,
(5:200) emit message {The Dream Owner is at position (%owner.x,%owner.y).} to whoever set off the trigger.