Jump to content

Question

Posted

Can you revise this script. Its is possible to make this script 2 per jobs only race to max. and then the npc will broadcast whos that person is? Thank you :)

prontera,155,170,5	script	Reward NPC	99,{

set .@MaxBLevel,255; //Set your servers max base level here.
set .@MaxJLevel,70;  //Set your servers max job level here.
set .@item,501;      //Set your reward item here.

if (BaseLevel != .@MaxBLevel && JobLevel != .@MaxJLevel) end;
mes "Congratulations, you've achieve the max level in the server, here's your reward!";
getitem .@item,1;
close;

}

 

1 answer to this question

Recommended Posts

  • 0
Posted (edited)
Quote

prontera,155,170,5	script	Reward NPC	99,{

set .@MaxBLevel,255; //Set your servers max base level here.
set .@MaxJLevel,70;  //Set your servers max job level here.
set .@item,501;      //Set your reward item here.

if (BaseLevel != .@MaxBLevel && JobLevel != .@MaxJLevel) end;
//check how many players
if ($@countMaxPlayers >= 2) {
   mes "Sorry I can only give rewards to two players";
   end;
}
mes "Congratulations, you've achieve the max level in the server, here's your reward!";
getitem .@item,1;
set $@countMaxPlayers, $@countMaxPlayers+1;
close;

Please test it first before implementing to your live server. 

Edited by akosivinmark
  • 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...