The script need to run in the ON ALARM
So need to use SETALARM
Need to use MOUSEPOS
for the mouse position.
mx GLOBAL my GLOBAL MOUSEPOS my = mx =
need to use a RANDOM
and take his position.
need to compare MOUSEPOS
Move the Prop with CLEARLOOSEPROPS
-> ADDLOOSEPROP RANDOM
I tryed a script quickly but the position are somes coordinates, example: x=300 y=300
, it's just a point, so you must put your mouse just on this point -> not good.
So need too, to calculate (or set) the width and the height of the ADDLOOSEPROP
and after to compare the mouse position with them...
Well i think there are more easy way
Detect if a user wear a prop wih HASPROP
If yes ->
Remove it with DOFFPROP
And after put it in the room with a RANDOM ADDLOOSEPROP
Or use DROPPROP
For take a prop in a user bag, just need to use MACRO
and after DROPPROP
I hope that will help you ;)