viewing paste Unknown #53403 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
OnInit:
    setarray .reward,611; //reward here
    .statRestriction = 100; // 100 stat and above
    set .winner,0;
    set .event_start,0;
    bindatcmd "start",strnpcinfo(0)+"::OnGMStart";
    disablenpc "Event Reward";
    end;
 }
 
prontera,146,186,3  script  Warper  67,{
    if ( BaseLevel > 10 || Class != 0 ) {
            mes "Only Lv 10 Novice can enter.";
            close;
            }
    if (readparam(bStr) >= .statRestriction || readparam(bAgi) >= .statRestriction || readparam(bVit) >= .statRestriction || readparam(bInt) >= .statRestriction || readparam(bDex) >= .statRestriction || readparam(bLuk) >= .statRestriction) {
            mes "Only Stats 99 Below can enter.";
            mes "Make sure all your stats are below 100";
            close;
        }
        else {
            getinventorylist;
            if ( @inventorylist_amount ) {
                mes "You store all your items first.";
                close2;
                @inventorylist_amount = false;
                end;
            }
            sc_end SC_ALL;
            warp "quiz_01",42,369;
        }
    }
    end;
 
Viewed 608 times, submitted by Guest.