Jump to content
  • 0

Editing Race to 99 script


Question

Posted
prontera,158,181,5	script	Race-To-99	100,{
    if (BaseLevel < 99) {
        npctalk "Sorry, Only Lvl 99 can claim the reward!";
        end;
    }
    if (JobLevel < 70) {
        npctalk "Sorry, Only Job Lvl 70 can claim the reward!";
        end;
    }
    if ($ItemGive == 100) {
        npctalk "Sorry, all rewards has been taken!";
        end;
    }
    if (getreward) {
        npctalk "Sorry, Nothing for you!";
        end;
    }
    announce "Congratulations! "+strcharinfo(0)+" has claimed his reward for Race to 99 Event", bc_all;
    getitem 501, 100;
    ++$ItemGive;
    getreward = 1;
    sleep 2000;
    announce "There are "+(100 - $ItemGive)+" rewards left to give!", bc_all;
    end;
}

good evening .. how will i add top 100 level 99 (like a rank) from 1st to 100th

and different rewards for the top 3

with a pub saying Level 99 Rewarder

thankyou so much

2 answers to this question

Recommended Posts

  • 1
Posted
prontera,158,181,5	script	Race-To-99	100,{
    if (BaseLevel < 99) {
        npctalk "Sorry, Only Lvl 99 can claim the reward!";
        end;
    }
    if (JobLevel < 70) {
        npctalk "Sorry, Only Job Lvl 70 can claim the reward!";
        end;
    }
    if ($ItemGive == 100) {
        npctalk "Sorry, all rewards has been taken!";
        end;
    }
    if (getreward) {
        npctalk "Sorry, Nothing for you!";
        end;
    }
    announce "Congratulations! "+strcharinfo(0)+" has claimed his reward for Race to 99 Event", bc_all;
    ++$ItemGive;
	if ($ItemGive == 1) {
		getitem 501, 100;
		getitem 501, 100;
		getitem 501, 100;
		getitem 501, 100;
	}
	else if ($ItemGive == 2) {
		getitem 501, 100;
		getitem 501, 100;
		getitem 501, 100;
	}
	else if ($ItemGive == 3) {
		getitem 501, 100;
		getitem 501, 100;
	}
	else {
		getitem 501, 100;
	}
    getreward = 1;
    sleep 2000;
    announce "There are "+(100 - $ItemGive)+" rewards left to give!", bc_all;
    end;
	
	OnInit:
		waitingroom "Level 99 Rewarder", 0;
		end;
}

 

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...