| 测试脚本如下: 
 
 #act
GetBagItemFieldValue 0 0 NAME S5
GetBagItemFieldValue 0 0 SELLPRICE N10
GetBagItemFieldValue 0 0 MakeIndex N11
sendmsg 5 当前第一个包袱物品<$STR(S5)>的价格是<$STR(N10)>,MakeIndex:<$STR(N11)>
GetBagItemFieldValue 1 <$STR(N11)> NAME S6
sendmsg 5 通过MakeIndex:<$STR(N11)>取到的物品名字:<$STR(S6)>
LinkBagItem <$STR(N11)>
GetUserItemName  -1 7
sendmsg 5 通过绑定<$STR(N11)>取到的物品名字:<$STR(S7)>
 执行结果如下:引擎版本:20240515
 
 
 
 |