;处理所有的兑换函数(算号、兑换、查询)
;━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[@兑换函数]
#if
checklevelex > 0
#act
loadvar human Zq_MyCode ..\QuestDiary\转区脚本\元宝自助转区\转区反馈.txt
loadvar human Zq_PayBack ..\QuestDiary\转区脚本\元宝自助转区\转区反馈.txt
loadvar human Zq_GameGold ..\QuestDiary\转区脚本\元宝自助转区\转区反馈.txt
loadvar human Zq_RutenInfo ..\QuestDiary\转区脚本\元宝自助转区\转区反馈.txt
loadvar human Zq_ChongZhiJF ..\QuestDiary\转区脚本\元宝自助转区\转区反馈.txt
#if
checkvar human Zq_PayBack = error
#act
close
messagebox
calcvar human Zq_PayBack =
calcvar human Zq_RutenInfo =
savevar human Zq_PayBack ..\QuestDiary\转区脚本\元宝自助转区\转区反馈.txt
savevar human Zq_RutenInfo ..\QuestDiary\转区脚本\元宝自助转区\转区反馈.txt
break
#if
checkvar human Zq_PayBack = quest
#act
messagebox
calcvar human Zq_PayBack =
calcvar human Zq_RutenInfo =
savevar human Zq_PayBack ..\QuestDiary\转区脚本\元宝自助转区\转区反馈.txt
savevar human Zq_RutenInfo ..\QuestDiary\转区脚本\元宝自助转区\转区反馈.txt
break
#if
checkvar human Zq_PayBack = dh_ok
checkvar human Zq_GameGold = 0
#act
CLEARDELAYGOTO
DelayCall 200 @清理数据
close
messagebox [错误]兑换失败,请稍后再试!!
break