UID152604
帖子
精華
主題
積分376
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限5
註冊時間2009-5-3
在線時間 小時
最後登錄1970-1-1
該用戶從未簽到
|
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;
}
請問大大如何改成下限也有公告呢? |
|