OK論壇

 找回密碼
 註冊
查看: 762|回復: 3

道館領錢腳本錯誤

 關閉 [複製鏈接]

該用戶從未簽到

發表於 2008-6-11 22:31:42 | 顯示全部樓層 |閱讀模式
各位大大

我的道管領錢人員

寫這樣:

guild_room.gat,53,285,4 script 獎金發放員 737,{
mes "[獎金發放員]";
mes "你很厲害!能打到這裡,讓我給你一些獎勵吧!";
        percentheal 100,100;
next;
mes "[獎金發放員]";
mes "我是負責發放獎金的";
mes "你將會隨機獲得500萬到3000萬不等的金錢";
mes "你確定你要選擇獎金嗎?";
next;
menu "對,我要領獎金!",-,"不了,讓我在考慮一下!",cancel;
ZenyRand:
        set @gi,rand(30000000);
if (@gi<5000000)goto ZenyRand; ;
mes "好的!你得到的金額是^FF0000"[email=+@gi+]+@gi+"^000000Z[/email]";
set zeny,zeny+@gi;
mes "[獎金發放員]";
mes "獎金還算多吧?";
next;
warp "izlude.gat",127,109;
cancel:
  close;
}可是他會卡住 可以跟我說原因嘛ˊˋ 或者是幫我修改一下!
  • TA的每日心情
    開心
    2019-8-18 04:57 PM
  • 簽到天數: 2148 天

    連續簽到: 1 天

    [LV.Master]伴壇終老

    發表於 2008-6-12 17:46:27 | 顯示全部樓層
    guild_room.gat,53,285,4 script 獎金發放員 737,{
    mes &quot;[獎金發放員]&quot;;
    mes &quot;你很厲害!能打到這裡,讓我給你一些獎勵吧!&quot;;
            percentheal 100,100;
    next;
    mes &quot;[獎金發放員]&quot;;
    mes &quot;我是負責發放獎金的&quot;;
    mes &quot;你將會隨機獲得500萬到3000萬不等的金錢&quot;;
    mes &quot;你確定你要選擇獎金嗎?&quot;;
    next;
    switch(select(&quot;對,我要領獎金!&quot;,&quot;不了,讓我在考慮一下!&quot;)){
    case 1:
    set @gi,rand(1,30000000);
    mes &quot;好的!你得到的金額是^FF0000&quot;+@gi+&quot;^000000Z&quot;;
    set zeny,zeny+@gi;
    next;
    warp &quot;izlude.gat&quot;,127,109;
    end;
    case 2:
    close;
    }
    }
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    慵懶
    2012-6-13 04:41 PM
  • 簽到天數: 9 天

    連續簽到: 0 天

    [LV.3]偶爾看看II

    發表於 2008-6-13 14:36:26 | 顯示全部樓層
    if (@gi<5000000)goto ZenyRand; ;
    少了一個空白 多了一個;
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

    發表於 2008-6-13 23:51:05 | 顯示全部樓層
    可以正常領錢了謝謝

    [ 本帖最後由 loverbrb 於 2008-6-13 11:55 PM 編輯 ]
    回復 支持 反對

    使用道具 舉報

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

    本版積分規則

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

    GMT+8, 2025-7-4 05:44 PM , Processed in 0.173960 second(s), 19 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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