I fixed it to: function blockF()
MessageBox("/Maps/RMG/4939-1686-2472-1326reymushestvo/block.txt");
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "block", "blockF")
But it still doesn't work. And the console displays an error!
Remove the line break before the Trigger line, and you also forgot the slash (corrections are highlighted in bold):
function blockF()
MessageBox("/Maps/RMG/4939-1686-2472-1326/preymushestvo/block.txt");
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "block", "blockF");