马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
如果我们玩过仿盛大的传奇私服,那么就一定记得,最好的装备只能在环境打的到,那么为了防止大家总在不停的去那里打,我们怎么办呢?可以用下面的这段脚本,添加在你的仿盛大的传奇服务端里,那样,无论是谁,每一个玩家一天也只能去幻境打三次装备了。 脚本代码如下: [@main]
您要挑战幻境吗?每天只有三次进入幻境的机会
挑战幻境我想限制每日只能进入幻境3次 刚写完这个脚本 请自行测试. [@main]
您要挑战幻境吗?每天只有三次进入幻境的机会 <挑战幻境/@挑战幻境>
<离开[url=]/@exit[/url]> [@挑战幻境]
#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
您今天已经去了三次了!
<离开[url=]/@exit[/url]> ;--------------------------------------------------------
[@礼拜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
您今天已经去了三次了!
<离开[url=]/@exit[/url]> ;--------------------------------------------------------
[@礼拜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
您今天已经去了三次了!
<离开[url=]/@exit[/url]> ;--------------------------------------------------------
[@礼拜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
您今天已经去了三次了!
<离开[url=]/@exit[/url]> ;--------------------------------------------------------
[@礼拜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
您今天已经去了三次了!
<离开[url=]/@exit[/url]> ;--------------------------------------------------------
[@礼拜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 [@礼拜502]
#IF
dayofweek fri
check [106] 1
check [202] 0
#act
set [202] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜503 [@礼拜503]
#IF
dayofweek fri
check [106] 1
CHECK [203] 0
#act
set [203] 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<离开[url=]/@exit[/url]> ;--------------------------------------------------------
[@礼拜601]
#IF
dayofweek sat
check [107] 0
#act
reset [101] 7
reset [201] 3
set [107] 1
set [201] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜602 [@礼拜602]
#IF
dayofweek sat
check [107] 1
check [202] 0
#act
set [202] 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜603 [@礼拜603]
#IF
dayofweek sat
check [107] 1
CHECK [203] 0
#act
set [203] 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<离开[url=]/@exit[/url]>
|