99Max综合娱乐网站(旧版)

 找回密码
 立即注册
查看: 985|回复: 3

[脚本求助] 关于每日限量换取道具最后一段代码,如何实现每日限量

[复制链接]

升级   0.6%

发表于 2012-11-22 22:11:42 | 显示全部楼层 |阅读模式
  1. -        script        meirilq        -1,{
  2. OnPCLoginEvent:
  3.                 if (xxxx1 != (gettime(7) + gettime(6) + gettime(5))){set @sjcs,0;}
  4.                         end;
  5.                 }
复制代码
这段代码是不是控制设定的 @sjcs变量在每天0点以后归0?
温馨提示:
1. 本站模拟器源于网络,经 99Max.mE 二次开发,仅供个人学习娱乐使用,切勿用于商业用途,否则后果自负!
2. 如需更好体验游戏内容,请前往官方游戏!不具备合法的运营模式,都是强盗,请勿擅自搭建私服!
3. 如本站内容有侵犯您的权益,请发送信息至QQ:372607220 或 EMAIL:372607220@qq.com ,我们会及时删除。

升级   0%

发表于 2012-11-24 10:22:13 | 显示全部楼层
年月号吧。
//| gettime(<type) is a function which is used to make a check
//| for a desired amount of information regarding time. The types are:
//| 1 - Seconds (of a minute)
//| 2 - Minutes (of an hour)
//| 3 - Hour (of a day). Hour goes from 0 to 23.
//| 4 - Week day (0 for Sunday, 6 is Saturday)
//| 5 - Day of the month.
//| 6 - Number of the month.
//| 7 - Year.
//| 8 - Day of the year.

//| Days (explained later) :
//|         Monday                = 1
//|         Tuesday                = 2
//|        Wednesday         = 3
//|        Thursday        = 4
//|         Friday                = 5
//|         Saturday        = 6
//|         Sunday                = 0

升级   0.6%

 楼主| 发表于 2012-11-26 23:58:10 | 显示全部楼层
感谢楼上2位大神指点,俺在研究研究

升级   0.6%

 楼主| 发表于 2012-12-6 20:26:05 | 显示全部楼层
xxxx1 !

这个是不是要自己设置个变量?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|99Max综合娱乐网站(旧版) ( 沪ICP备11024206号-1 )

GMT+8, 2025-2-26 07:03 , Processed in 0.209534 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表