Or maybe there is an alternative to interact with npc bot-sided, because this sendmacro is client-sided?
This Code is for burning Honor Points at the mercheants and would make it much easier to buy different production mats.
Maybe this is a very fundamental coding question, I am sorry for my bad coding skills
You are sending a string in game "ChoiceOption(VARIABLE);" that is executed in game. If VARIABLE is a bot value then it will be nil in the game. What you want to do is use the value held by that variable,eg.