viewing paste Unknown #56065 | Text

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
-   script  LoginStatCheck  FAKE_NPC,{
 
OnPCLoginEvent:
    .ms = 99;
    @str = readparam(bStr);
    @agi = readparam(bAgi);
    @vit = readparam(bVit);
    @int = readparam(bInt);
    @dex = readparam(bDex);
    @luk = readparam(bLuk);
    if(@str >= .ms) @pass++;
    if(@agi >= .ms) @pass++;
    if(@int >= .ms) @pass++;
    if(@vit >= .ms) @pass++;
    if(@dex >= .ms) @pass++;
    if(@luk >= .ms) @pass++;
    
    if(@pass >= 3) 
    dispbottom "Your stats are not possible, Your stats will be reset!";
        resetstatus;
    end;
}
 
Viewed 502 times, submitted by Guest.