For some reason nextCPos never seems to work for me, while contPos works everytime.
event macro 13 4 ; animal lore
while targCurs = 1
wait 1
contPos 0 0
halt
That works great, wherever the lore gump opens it moves to 0, 0.
set #nextCPosX 0
set #nextCPosY 0
event macro 13 4 ; animal lore
while targCurs = 1
wait 1
halt
That doesn't open the lore gump at 0, 0.
It might have to do with
The "Offset interface windows rather than perfectly stacking them" option, in Interface options (Mouse Icon) must be turned on for the #nextCPosX and #nextCPosY variables to work.
which I'll have to look at later.