[@main]
#if
#act 
NEWREADCSV ..\QuestDiary\cfg_canshu.csv
#say
<Button|a=0|x=217.0|y=65.0|pimg=public/1900000661.png|nimg=public/1900000660.png|size=18|color=249|text=装备合成|link=@我要合成#合成物品=火龙神剑>
<Button|a=0|x=217.0|y=95.0|pimg=public/1900000661.png|nimg=public/1900000660.png|size=18|color=249|text=装备合成|link=@我要合成#合成物品=狂雷神剑>

;另寻一个996工作，qq;283131115

[@我要合成]
#IF
#ACT
mov N$物品序号 <$GetTypeERow(cfg_canshu,0,<$STR(S$合成物品)>)>


#if
SMALL N$物品序号 1
#act
messagebox 　\　〈失败提示〉：参数错误！！！
break

#if
large <$cfg_canshu(<$STR(n$物品序号)>_1)> 0
CheckBindMoney 元宝  < <$cfg_canshu(<$STR(n$物品序号)>_1)>
#act
messagebox 　\　〈失败提示〉：元宝不足<$cfg_canshu(<$STR(n$物品序号)>_1)>
break


#if
large <$cfg_canshu(<$STR(n$物品序号)>_2)> 0
CheckBindMoney 元宝  < <$cfg_canshu(<$STR(n$物品序号)>_2)>
#act
messagebox 　\　〈失败提示〉：金币不足<$cfg_canshu(<$STR(n$物品序号)>_2)>
break

#IF
not CHECKITEM <$cfg_canshu(<$STR(n$物品序号)>_3)> <$cfg_canshu(<$STR(n$物品序号)>_4)>
#ACT
messagebox 　\　　　〈失败提示〉：你没有<$cfg_canshu(<$STR(n$物品序号)>_3)>*<$cfg_canshu(<$STR(n$物品序号)>_4)>元宝不足<$STR(N$货币1)>
break

#ELSEACT
ChangeBindMoney  元宝 <$cfg_canshu(<$STR(n$物品序号)>_1)>
ChangeBindMoney 金币 <$cfg_canshu(<$STR(n$物品序号)>_2)>
take <$cfg_canshu(<$STR(n$物品序号)>_3)> <$cfg_canshu(<$STR(n$物品序号)>_4)>
give <$STR(S$合成物品)> 1