[GOM脚本] 传奇私服兑换服务功能NPC脚本
发布日期:2024-05-09 11:32:32
脚本支持RMB点兑换,如果没有积分的时候,可以使用元宝兑换,脚本是明文版的,默认积分是读取充值点的。可以根据自己的要求,任意修改里面的商品内容和兑换金额等。
[@main]
#IF
#ACT
goto @main1
[@main1]
#IF
CHECKLEVELEX > 1
#ACT
OPENMERCHANTBIGDLG 57 882 1 4 0 -70 1 350 4
#SAY
\ \
<━━━━━━━━━━━━━━━━━━━━━━━━━━━━━/SCOLOR=58>\
<★★/SCOLOR=250> <10RMB兑换1000专属币/@1> <10专属币兑换100W元宝/@5> <★★/SCOLOR=250> \ \
<★★/SCOLOR=250> <100RMB兑换1w专属币/@2> <100专属币兑换1000W元宝/@6> <★★/SCOLOR=250> \ \
<★★/SCOLOR=250> <铭骨真露兑换 X10 天阳丹/@3> <提取1w专属币/@7> <★★/SCOLOR=250> \ \
<★★/SCOLOR=250> <1 亿元宝兑换 X1 元宝蛋/@4> <提取10w专属币/@8> <★★/SCOLOR=250> \ \
<★★/SCOLOR=250> 当前您的专属币为:<$gamediamond> 当前您充值点:<$CREDITPOINT>\
[@2]
#IF
CHECKGAMEPOINT > 99
#ACT
GAMEPOINT - 100
GAMEDIAMOND + 10000
sendmsg 6 兑换成功
#ELSEACT
sendmsg 6 缺少兑换物品!
[@1]
#IF
CHECKGAMEPOINT >9
#ACT
GAMEPOINT - 10
GAMEDIAMOND + 1000
sendmsg 6 兑换成功
#ELSEACT
sendmsg 6 缺少兑换物品!
[@8]
#IF
CHECKgamediamond > 99999
#ACT
gamediamond - 100000
give 10万专属币
goto @main
sendmsg 6 兑换成功
#ELSEACT
sendmsg 6 专属币不足!!
[@7]
#IF
CHECKgamediamond > 9999
#ACT
gamediamond - 10000
give 1万专属币
goto @main
sendmsg 6 兑换成功
#ELSEACT
sendmsg 6 专属币不足!!
[@6]
#IF
CHECKgamediamond > 99
#ACT
gamediamond - 100
GAMEGOLD + 10000000
goto @main
sendmsg 6 兑换成功
#ELSEACT
sendmsg 6 专属币不足!!
[@5]
#IF
CHECKgamediamond > 9
#ACT
gamediamond - 10
GAMEGOLD + 1000000
goto @main
sendmsg 6 兑换成功
#ELSEACT
sendmsg 6 专属币不足!!
[@4]
#IF
CHECKGAMEGOLD > 100000000
#ACT
GAMEGOLD - 100000000
give 元宝蛋 1
goto @main
sendmsg 6 兑换成功
#ELSEACT
sendmsg 6 需要1亿元宝兑换一个元宝蛋!!
[@3]
#IF
CHECKITEM 铭骨真露 1
#ACT
take 铭骨真露 1
give 天阳丹 10
sendmsg 6 兑换成功
#ELSEACT
sendmsg 6 缺少兑换物品!