new itemname[64] data[2] format(itemname, charsmax(itemname), "該技能已經點了%d", skill[id]) //假設以新增變數 data[0] = 第幾項 data[1] = ^0 menu_additem(menu, itemname, data, 0, -1)