Quick briefing to coding style

":agent_no" or ":agent_id"?
The meaning for _id is for global tags (troops, items, strings, parties) wich didn't change in the game. The meaning for _no is for dynamic objects wich can be changed in the next mission or scene. You can skip both. The only usefull coding will be for horses: ":horse_id" is item and ":horse_no" is agent.

script_cf_
If the script can fail i.e. the code breaks after some condition than use cf_name.

Dynamic and static tags
Usually dynamic globals looks like this  and static is just. Static vars can be used in the expressions.