OK論壇

 找回密碼
 註冊
查看: 1098|回復: 2

斯福上線有公告 那如何改成下限也有公告= =?付我的腳本..

 關閉 [複製鏈接]

該用戶從未簽到

發表於 2009-5-3 20:38:33 | 顯示全部樓層 |閱讀模式
EA
私服版號: ea13374
問題內容: 腳本問題
本帖最後由 無奈 於 2009-5-3 09:19 PM 編輯

prontera.gat,0,0,0 script 防外掛機制 -1,{
close;
OnPCLoginEvent:
set checkpet,0;
if(checkriding()) set checkpet,1;
if(checkcart()) set checkpet,2;
if(checkfalcon()) set checkpet,3;
test:
atcommand strcharinfo(0)+"option 02 02 64 "+strcharinfo(0);
set @time,@time+1;
set @number1,rand(111,999);
mes"[防外掛機制]";
mes"  ╱╲╱╲╱╲╱╲╱╲╱╲╱╲";
mes"  ╲★請輸入下面的驗證號碼★╱";
mes"  ╱☆╭────────╮☆╲";
mes"  ╲★│^0000FF驗證號碼^000000:^FF0000"[email=+@number1+]+@number1+"^000000[/email]│★╱";
mes"  ╱☆╰────────╯☆╲";
mes"  ╲╱╲╱╲╱╲╱╲╱╲╱╲╱";
next;
input @number2;
if(@number1!=@number2) goto error1;
if(getgmlevel()==0)
{
announce "系統公告 : 遊戲玩家 "+strcharinfo(0)+" 進入!!",20;
}
else
{
announce "系統公告 : 遊戲管理者 "+strcharinfo(0)+" 進入!!20;
}
atcommand strcharinfo(0)+"option 00 00 00 "+strcharinfo(0);
if(checkpet==1) setriding;
if(checkpet==2) setcart;
if(checkpet==3) setfalcon;
close;
error1:
if(@time == 3) goto error2;
mes "[防外掛機制]";
mes "重新輸入次數:^FF0000剩餘 "+([email=3-@time]3-@time[/email])+" 次^000000";
next;
goto test;
error2:
atcommand strcharinfo(0)+"option 00 00 00 "+strcharinfo(0);
if(checkpet==1) setriding;
if(checkpet==2) setcart;
if(checkpet==3) setfalcon;
atcommand strcharinfo(0)+"kick "+strcharinfo(0);
close;
}
請問大大如何改成下限也有公告呢?
回復

使用道具 舉報

  • TA的每日心情
    開心
    2021-12-17 05:30 AM
  • 簽到天數: 237 天

    連續簽到: 1 天

    [LV.7]常住居民III

    發表於 2009-5-3 20:47:48 | 顯示全部樓層
    OnPCLogoutEvent:   登出執行
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

     樓主| 發表於 2009-5-3 21:19:29 | 顯示全部樓層
    感謝大大的指導=ˇ=
    回復 支持 反對

    使用道具 舉報

    您需要登錄後才可以回帖 登錄 | 註冊

    本版積分規則

    Archiver|手機版|小黑屋|OK討論區

    GMT+8, 2024-6-1 12:40 AM , Processed in 0.050821 second(s), 21 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回復 返回頂部 返回列表