假设咱们玩过仿隆重的传奇私服,那么就肯定记得,最好的装备只能在环境打的到,那么为了防止大家总在不停的去那里打,咱们怎样办呢?可能用下面的这段脚本,增加在你的仿隆重的传奇服务端里,那样,无论是谁,每一个玩家一天也只能去幻境打三次装备了。
脚本代码如下:
[@main]
您要应战幻境吗?每天只要三次进入幻境的时机
应战幻境我想限度每日只能进入幻境3次 刚写完这个脚本 请自行测试.
[@main]
您要应战幻境吗?每天只要三次进入幻境的时机
<应战幻境/@应战幻境>
<分开/@exit>
[@应战幻境]
#if
dayofweek sun
#act
goto @礼拜001
break
#if
dayofweek mon
#act
goto @礼拜101
break
#if
dayofweek tue
#act
goto @礼拜201
break
#if
dayofweek wed
#act
goto @礼拜301
break
#if
dayofweek thu
#act
goto @礼拜401
break
#if
dayofweek fri
#act
goto @礼拜501
break
#if
dayofweek sat
#act
goto @礼拜601
break
[@礼拜001]
#IF
dayofweek sun
check [101] 0
#act
reset [101] 7
reset [201] 3
set [101] 1
set [201] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜002
[@礼拜002]
#IF
dayofweek sun
check [101] 1
check [202] 0
#act
set [202] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜003
[@礼拜003]
#IF
dayofweek sun
check [101] 1
CHECK [203] 0
#act
set [203] 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<分开/@exit>
;--------------------------------------------------------
[@礼拜101]
#IF
dayofweek mon
check [102] 0
#act
reset [101] 7
reset [201] 3
set [102] 1
set [201] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜102
[@礼拜102]
#IF
dayofweek mon
check [102] 1
check [202] 0
#act
set [202] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜103
[@礼拜003]
#IF
dayofweek mon
check [102] 1
CHECK [203] 0
#act
set [203] 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<分开/@exit>
;--------------------------------------------------------
[@礼拜201]
#IF
dayofweek tue
check [103] 0
#act
reset [101] 7
reset [201] 3
set [103] 1
set [201] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜202
[@礼拜202]
#IF
dayofweek tue
check [103] 1
check [202] 0
#act
set [202] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜203
[@礼拜203]
#IF
dayofweek tue
check [103] 1
CHECK [203] 0
#act
set [203] 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<分开/@exit>
;--------------------------------------------------------
[@礼拜301]
#IF
dayofweek wed
check [104] 0
#act
reset [101] 7
reset [201] 3
set [104] 1
set [201] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜302
[@礼拜302]
#IF
dayofweek wed
check [104] 1
check [202] 0
#act
set [202] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜303
[@礼拜303]
#IF
dayofweek wed
check [104] 1
CHECK [203] 0
#act
set [203] 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<分开/@exit>
;--------------------------------------------------------
[@礼拜401]
#IF
dayofweek thu
check [105] 0
#act
reset [101] 7
reset [201] 3
set [105] 1
set [201] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜402
[@礼拜402]
#IF
dayofweek thu
check [105] 1
check [202] 0
#act
set [202] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜403
[@礼拜403]
#IF
dayofweek thu
check [105] 1
CHECK [203] 0
#act
set [203] 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<分开/@exit>
;--------------------------------------------------------
[@礼拜501]
#IF
dayofweek fri
check [106] 0
#act
reset [101] 7
reset [201] 3
set [106] 1
set [201] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜502
|