UID321425
帖子
精華
主題
積分2
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限5
註冊時間2013-6-6
在線時間 小時
最後登錄1970-1-1
TA的每日心情 | 衰 2017-9-10 12:01 AM |
---|
簽到天數: 116 天 連續簽到: 2 天 [LV.6]常住居民II
|
樓主 |
發表於 2014-1-7 21:06:51
|
顯示全部樓層
emistry 發表於 2014-1-7 07:06 PM
當玩家簽到,你要增加這個的數目在你的腳本中,並沒有這
還有, 你需要用
emistry大~
不好意思 上面貼的不夠多 - -- Done:
- If($@gbmode==0)set $canadd,$canadd-1;
- //數字
- Set $gmt,$gmt+1;
- //名字
- SetD "$gmS"+$gmt+"$",strcharinfo(0);
- //日期
- SetD "$gmD"+$gmt+"$",gettimestr("%Y-%m-%d %H:%M:%S",20);
- //內容設置
- set .@i,1;
- While(.@i<=@im){
- SetD "$gmTgg_"+$gmt+"_"+.@i+"$","^"+@gmC$+""+GetD("@ip"+.@i+"$")+"^000000";
- Set .@i,.@i+1;
- }
- SetD "$gmTmax"+$gmt+"",@im;
- if(@chmode==1)SetD "$gmType"+$gmt+"$","留言";
- If($@gbmode==0 && (gettime(4)-#gbdata)^2==1)set #loopgot,#loopgot+1;
- If($@gbmode==0 && (gettime(4)-#gbdata)^2!=1)set #loopgot,0;
- If($@gbmode==3 && (gettime(4)-#gbdata)^2==1 && @chmode==2)set #loopgot,#loopgot+1;
- If($@gbmode==3 && (gettime(4)-#gbdata)^2!=1 && @chmode==2)set #loopgot,0;
- if(@chmode==2){
- Set Zeny,Zeny+$@getzeny+$@getzenys*#loopgot;
- SetD "$gmType"+$gmt+"$","簽到";
- }
- if($@gbmode==0){
- Set Zeny,Zeny+$@getzeny+$@getzenys*#loopgot;
- SetD "$gmType"+$gmt+"$","簽到";
- }
- if($@gbmode==1)SetD "$gmType"+$gmt+"$","留言";
- If($@gbmode==0)Set #gbdata,gettime(4);
- If($@gbmode==3)Set #gbdata,gettime(4);
- Next;
- Goto Gmenu;
- }
- Gmenu:
- mes2 "["+Strnpcinfo(0)+"]";
- mes2 "我能為您服務?";
- mes2 "[你已經連續簽到"+#loopgot+"天了]";
- if($@gbmode==1)menu "留言",adw,"觀看留言",a1,"刪除留言",a2;
- if($@gbmode==0 && getgmlevel()>40)menu "簽到",adw,"觀看簽到",a1,"刪除留言",a2;
- if($@gbmode==0)menu "簽到",adw,"觀看簽到",a1;
- if($@gbmode==3)menu "留言或者簽到",adw,"觀看留言",a1,"刪除留言",a2;
- adw:
- next;
- if($@gbmode==3)set @chmode,prompt("留言:簽到");
- If($canadd==0 && @chmode!=1 && $@gbmode!=1){
- mes2 "["+Strnpcinfo(0)+"]";
- mes2 "已經不開放簽到囉";
- close;
- }
- If(#gbdata==gettime(4) && $@gbmode==0){
- mes2 "["+Strnpcinfo(0)+"]";
- mes2 "你已經簽到過囉";
- close;
- }
- If(#gbdata==gettime(4) && $@gbmode==3 && @chmode==2){
- mes2 "["+Strnpcinfo(0)+"]";
- mes2 "你已經簽到過囉";
- close;
- }
複製代碼 我用尋找 找不到這段 |
|