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

 找回密码
 立即注册
查看: 573|回复: 0

[脚本求助] 会员系统的脚本

[复制链接]

升级   100%

群组: JRO日本客户端

发表于 2019-9-9 20:28:00 | 显示全部楼层 |阅读模式
我在SOL设置会员时间,登录游戏也显示公告,为什么这个脚本不行。还有修改客户端哪里
==================================================
prontera.gat,160,85,4        script        会员服务部        936,{
mes "[服务人员]";
mes "欢迎您的光临,请问有什么需要的吗?";
set @account_id,0;
set @mlv,0;
set @state,0;
set @member_item_num,0;
set @member_zeny_num,0;
set @item_id,0;
set @item_num,0;
set @ilv,0;
set @num,0;
next;
query_sql "select `item_num` from `member_item` where `item_id` = 999999",@member_item_num;
query_sql "select `item_num` from `member_item` where `item_id` = 888888",@member_zeny_num;
query_sql "select * from `member_list` where `account_id` = "+getcharid(3),@account_id,@mlv,@state;
switch(select("-查看会员功能-","-领取会员状态-","-领取会员道具-","-领取会员资金-",getgmlevel()>90?"-系统控制管理-":"")){
        case 1: //会员说明
                mes "会员功能如下:";
                mes "1、每周可以领取会员道具"+@member_item_num+"次.";
                mes "2、每周可以领取会员资金"+@member_zeny_num+"Zeny.";
                mes "3、可以获得一些辅助状态.";
                break;
        case 2:
                mes "[服务人员]";
                if (@account_id==0) {
                        mes "您不是会员无法领取会员道具.";
                        mes "办理会员业务,请与游戏管理员联系.";
                        close;
                        }
        后面的发不词语来@account对应哪里?
温馨提示:
1. 本站模拟器源于网络,经 99Max.mE 二次开发,仅供个人学习娱乐使用,切勿用于商业用途,否则后果自负!
2. 如需更好体验游戏内容,请前往官方游戏!不具备合法的运营模式,都是强盗,请勿擅自搭建私服!
3. 如本站内容有侵犯您的权益,请发送信息至QQ:372607220 或 EMAIL:372607220@qq.com ,我们会及时删除。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

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

GMT+8, 2024-4-29 08:41 , Processed in 0.068710 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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