开区一条龙www.xinsf1.com
Would you like to react to this message? Create an account in a few clicks or log in to continue.

限制每天只能进入三次幻境的脚本

向下

限制每天只能进入三次幻境的脚本 Empty 限制每天只能进入三次幻境的脚本

帖子  Admin 周二 三月 04, 2008 2:16 pm

[@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
[@礼拜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
您今天已经去了三次了!
<离开/@exit>
;--------------------------------------------------------
[@礼拜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
您今天已经去了三次了!
<离开/@exit>

Admin
Admin

帖子数 : 99
注册日期 : 08-03-03

http://xinsf1.luntan9.com

返回页首 向下

返回页首


 
您在这个论坛的权限:
不能在这个论坛回复主题