I want to put a color code to the menu items in this script, but not sure how to do it. It's from the script: npc/merchants/elemental_trader.txt
set .@menu$, "";
for(set .@j,1; .@j<5; set .@j,.@j+1) {
if (.@Items[.@j] != .@i) set .@menu$, .@menu$+getitemname(.@Items[.@j]);
set .@menu$, .@menu$+":";
}
set .@menu$, .@menu$+"Cancel";
set .@j, select(.@menu$);
Question
Yuna
I want to put a color code to the menu items in this script, but not sure how to do it. It's from the script: npc/merchants/elemental_trader.txt
Thanks~
Edited by LiloLink to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.