Ad esempio per sapere a che riga si trova il cursore potete usare questo codice:
put word 2 of the selectedChunk into temp
put the number of lines of char 1 to temp of field 1
put word 2 of the selectedChunk into temp
put the number of lines of char 1 to temp of field 1
on PreOpenStack
if the owner of the target is me then
-- code runs for this stack only
answer "Sono il mainstack"
else
-- code runs for any stack that's opened other than this one
answer "Sono un Substack"
end if
end PreOpenStack