I want to show the confirm menu before buying in the barter shop.
I tried to use:
clif_scriptmenu(&sd, barter->npcid, "yes:no");
but I have no idea how to wait the player select the menu and use that option.
the result is the client show the select menu, but it starts to buy the item from barter shop. I want the client to wait for player to select "yes" or "no" before start buying from shop.
Thanks in advance.