;;;QQ:67762207
[@刷新天下第一]
{
#IF
checkcmd CHECKUSERJF 10
#ACT
actcmd SETUSERJF - 10 刷新天下第一
goto @系统刷新
#SAY
已经刷新完毕.所有的天下第一塑像大约在2分钟内更新完毕\\
<关闭/@exit>

#ELSEACT
break
#ELSESAY
对不起，你的积分不足10分.\\
<关闭/@exit>


[@系统刷新]
#IF
#ACT
actcmd READSQL "TBL_ABILITY" "TBL_ABILITY.FLD_CHARACTER" "女法师" "INNER JOIN TBL_CHARACTER ON TBL_CHARACTER.FLD_CHARACTER = TBL_ABILITY.FLD_CHARACTER AND TBL_CHARACTER.FLD_JOB = 1 AND TBL_CHARACTER.FLD_SEX = 1 ORDER BY TBL_ABILITY.FLD_LEVEL DESC, TBL_ABILITY.FLD_EXP DESC"
actcmd READSQL "TBL_ABILITY" "TBL_ABILITY.FLD_CHARACTER" "男法师" "INNER JOIN TBL_CHARACTER ON TBL_CHARACTER.FLD_CHARACTER = TBL_ABILITY.FLD_CHARACTER AND TBL_CHARACTER.FLD_JOB = 1 AND TBL_CHARACTER.FLD_SEX = 0 ORDER BY TBL_ABILITY.FLD_LEVEL DESC, TBL_ABILITY.FLD_EXP DESC"
actcmd READSQL "TBL_ABILITY" "TBL_ABILITY.FLD_CHARACTER" "男战士" "INNER JOIN TBL_CHARACTER ON TBL_CHARACTER.FLD_CHARACTER = TBL_ABILITY.FLD_CHARACTER AND TBL_CHARACTER.FLD_JOB = 0 AND TBL_CHARACTER.FLD_SEX = 0 ORDER BY TBL_ABILITY.FLD_LEVEL DESC, TBL_ABILITY.FLD_EXP DESC"
actcmd READSQL "TBL_ABILITY" "TBL_ABILITY.FLD_CHARACTER" "女战士" "INNER JOIN TBL_CHARACTER ON TBL_CHARACTER.FLD_CHARACTER = TBL_ABILITY.FLD_CHARACTER AND TBL_CHARACTER.FLD_JOB = 0 AND TBL_CHARACTER.FLD_SEX = 1 ORDER BY TBL_ABILITY.FLD_LEVEL DESC, TBL_ABILITY.FLD_EXP DESC"
actcmd READSQL "TBL_ABILITY" "TBL_ABILITY.FLD_CHARACTER" "女道士" "INNER JOIN TBL_CHARACTER ON TBL_CHARACTER.FLD_CHARACTER = TBL_ABILITY.FLD_CHARACTER AND TBL_CHARACTER.FLD_JOB = 2 AND TBL_CHARACTER.FLD_SEX = 1 ORDER BY TBL_ABILITY.FLD_LEVEL DESC, TBL_ABILITY.FLD_EXP DESC"
actcmd READSQL "TBL_ABILITY" "TBL_ABILITY.FLD_CHARACTER" "男道士" "INNER JOIN TBL_CHARACTER ON TBL_CHARACTER.FLD_CHARACTER = TBL_ABILITY.FLD_CHARACTER AND TBL_CHARACTER.FLD_JOB = 2 AND TBL_CHARACTER.FLD_SEX = 0 ORDER BY TBL_ABILITY.FLD_LEVEL DESC, TBL_ABILITY.FLD_EXP DESC"


#IF
!EQUAL 女法师 ""
#ACT
savevalue "PlayerParam\天下第一.ini" [天下第一] [女法师] %女法师
#ELSEACT
savevalue "PlayerParam\天下第一.ini" [天下第一] [女法师] ""

#IF
!EQUAL 男法师 ""
#ACT
savevalue "PlayerParam\天下第一.ini" [天下第一] [男法师] %男法师
#ELSEACT
savevalue "PlayerParam\天下第一.ini" [天下第一] [男法师] ""

#IF
!EQUAL 女战士 ""
#ACT
savevalue "PlayerParam\天下第一.ini" [天下第一] [女战士] %女战士
#ELSEACT
savevalue "PlayerParam\天下第一.ini" [天下第一] [女战士] ""

#IF
!EQUAL 男战士 ""
#ACT
savevalue "PlayerParam\天下第一.ini" [天下第一] [男战士] %男战士
#ELSEACT
savevalue "PlayerParam\天下第一.ini" [天下第一] [男战士] ""

#IF
!EQUAL 女道士 ""
#ACT
savevalue "PlayerParam\天下第一.ini" [天下第一] [女道士] %女道士
#ELSEACT
savevalue "PlayerParam\天下第一.ini" [天下第一] [女道士] ""

#IF
!EQUAL 男道士 ""
#ACT
savevalue "PlayerParam\天下第一.ini" [天下第一] [男道士] %男道士
#ELSEACT
savevalue "PlayerParam\天下第一.ini" [天下第一] [男道士] ""
}
;;;QQ:67762207