UID4150
帖子
精華
主題
積分28425
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限30
註冊時間2007-8-21
在線時間 小時
最後登錄1970-1-1
TA的每日心情 | 開心 2010-9-6 03:41 PM |
---|
簽到天數: 1 天 連續簽到: 0 天 [LV.1]初來乍到
|
發表於 2008-11-1 19:42:17
|
顯示全部樓層
對EA的語法不熟 下列我寫的 用看看
:tk_02
prontera.gat,164,169,4 script 福利 57,{
mes "[福利]";
mes "你好!我是福利發放員";
mes "你每升十級可以在我這裡領取一定的福利金!";
mes " --腳本 by 大頭";
next;
mes "每十及只能領一次哦!";
mes "請選擇你的動作!";
next;
menu "我要申請福利金",FULIPD,"離開",LEND;
//開始判斷等級FULIPD: if ((BaseLevel<10)) goto JIA;
if ((BaseLevel>10) && (BaseLevel<20)) goto LEVEL1;
if ((BaseLevel>20) && (BaseLevel<30)) goto LEVEL2;
if ((BaseLevel>30) && (BaseLevel<40)) goto LEVEL3;
if ((BaseLevel>40) && (BaseLevel<50)) goto LEVEL4;
if ((BaseLevel>50) && (BaseLevel<60)) goto LEVEL5;
if ((BaseLevel>60) && (BaseLevel<70)) goto LEVEL6;
if ((BaseLevel>70) && (BaseLevel<80)) goto LEVEL7;
if ((BaseLevel>80) && (BaseLevel<90)) goto LEVEL8;
if ((BaseLevel>90) ) goto LEVEL9;
//按各種等級開始處理JIA:
mes "等級還沒到,加油升級哦!";
close; LEVEL1:
if (LE1==2) goto TANXIN;
set zeny,zeny+30000;
getitem 607,20;
set LE1,2;
goto MONEY;LEVEL2:
if (LE2==2) goto TANXIN;
set zeny,zeny+60000;
getitem 607,30;
set LE2,2;
goto MONEY;LEVEL3:
if (LE3==2) goto TANXIN;
set zeny,zeny+100000;
getitem 607,50;
set LE3,2;
goto MONEY;LEVEL4:
if (LE4==2) goto TANXIN;
set zeny,zeny+1500000;
getitem 607,70;
set LE4,2;
goto MONEY;LEVEL5:
if (LE5==2) goto TANXIN;
set zeny,zeny+190000;
getitem 607,100;
set LE5,2;
goto MONEY;LEVEL6:
if (LE6==2) goto TANXIN;
getitem 607,120;
set zeny,zeny+250000;
set LE6,2;
goto MONEY;LEVEL7:
if (LE7==2) goto TANXIN;
set zeny,zeny+300000;
getitem 607,140;
set LE7,2;
goto MONEY;LEVEL8:
if (LE8==2) goto TANXIN;
set zeny,zeny+360000;
getitem 607,160;
set LE8,2;
goto MONEY;LEVEL9:
if (LE9==2) goto TANXIN;
set zeny,zeny+500000;
getitem 607,180;
set LE9,2;
goto MONEY;MONEY:
mes "錢已經發給你了,要好好用哦!";
close;
TANXIN:
mes "你已經領過了!還想來?"
close; LEND:
close;OnInit: waitingroom "要錢的來哦!",0; end;} |
|