传奇私服 发表于 2017-9-23 11:13:05

传奇每天3次机会进入地图脚本


[@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 0
#act
reset 7
reset 3
set 1
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜002
[@礼拜002]
#IF
dayofweek sun
check 1
check 0
#act
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜003
[@礼拜003]
#IF
dayofweek sun
check 1
CHECK 0
#act
set 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<离开/@exit>
;--------------------------------------------------------
[@礼拜101]
#IF
dayofweek mon
check 0
#act
reset 7
reset 3
set 1
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜102
[@礼拜102]
#IF
dayofweek mon
check 1
check 0
#act
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜103
[@礼拜003]
#IF
dayofweek mon
check 1
CHECK 0
#act
set 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<离开/@exit>
;--------------------------------------------------------
[@礼拜201]
#IF
dayofweek tue
check 0
#act
reset 7
reset 3
set 1
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜202
[@礼拜202]
#IF
dayofweek tue
check 1
check 0
#act
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜203
[@礼拜203]
#IF
dayofweek tue
check 1
CHECK 0
#act
set 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<离开/@exit>
;--------------------------------------------------------
[@礼拜301]
#IF
dayofweek wed
check 0
#act
reset 7
reset 3
set 1
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜302

[@礼拜302]
#IF
dayofweek wed
check 1
check 0
#act
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜303
[@礼拜303]
#IF
dayofweek wed
check 1
CHECK 0
#act
set 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<离开/@exit>
;--------------------------------------------------------
[@礼拜401]
#IF
dayofweek thu
check 0
#act
reset 7
reset 3
set 1
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜402

[@礼拜402]
#IF
dayofweek thu
check 1
check 0
#act
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜403
[@礼拜403]
#IF
dayofweek thu
check 1
CHECK 0
#act
set 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<离开/@exit>
;--------------------------------------------------------
[@礼拜501]
#IF
dayofweek fri
check 0
#act
reset 7
reset 3
set 1
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜502
[@礼拜502]
#IF
dayofweek fri
check 1
check 0
#act
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜503
[@礼拜503]
#IF
dayofweek fri
check 1
CHECK 0
#act
set 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<离开/@exit>
;--------------------------------------------------------
[@礼拜601]
#IF
dayofweek sat
check 0
#act
reset 7
reset 3
set 1
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜602
[@礼拜602]
#IF
dayofweek sat
check 1
check 0
#act
set 1
mapmove H001
give 回城卷
#ELSEACT
GOTO @礼拜603
[@礼拜603]
#IF
dayofweek sat
check 1
CHECK 0
#act
set 1
mapmove H001
give 回城卷
#ELSESAY
您今天已经去了三次了!
<离开/@exit>

页: [1]
查看完整版本: 传奇每天3次机会进入地图脚本