传奇单机版下载-传奇服务端-传奇一条龙-Gm版本库-传奇版本库GM基地论坛

 找回密码
 立即注册

每天3次幻境 - 传奇私服脚本

查看: 1069|回复: 0

每天3次幻境

[复制链接]
发表于 2017-10-28 09:47:43 | 显示全部楼层 |阅读模式

[@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>


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver/手机版/Gm版本库 ( 蜀ICP备20007044号-3 )|网站地图

GMT+8, 2024-12-23 19:53 , Processed in 0.096307 second(s), 16 queries .

Powered by GM版本库 X3.4

© 2001-2011 传奇版本库>  template by 版本库