I have just a quick question, is it possible for xenobot to choose from modal windows, let me explain in detail, npc makes you buy potions from a modal window instead of a normal trade, so instead of putting a label saying (hi)(trade)(autobuy til x potions) how would this be put in a lua to choose item and conform etc?
example:
https://otland.net/threads/how-to-modal-windows.225398/
OHTmOLf.png