Jump to content

Question

Posted

Hye guys.

I need your help if possible to create 1 freegift NPC for OBT player only.

Currently my server already official launch, but i want to give some reward for those participate in my OBT before.

How can i do this ?

please help me. :)

2 answers to this question

Recommended Posts

  • 0
Posted

Hey,

 

I think the best for you would be this Script . You can make your Redeem Codes and give them to your OBT Players. And as an additonal Feature: You can use it in the future to, for events or other things!

 

Greetings

  • 0
Posted (edited)

First, check the range of Account IDs of the players who participated during your beta. For example, 2000100 is the last account id created during your beta.

prontera,100,100,3	script	Beta Reward	100,{

if(getcharid(3) <= 2000100){
	if(#cbtreward == 1) {
		mes "You already got your reward!";
        close;
      	}
    //getitem 909,1;
	getitembound 909,1,Bound_Account; // <-- should be bound if you don't want this to be abused.
	mes "Here's your reward!";
	set #cbtreward,1;
	close; }
mes "You're not a beta player, sorry!";
close;
}

 

 

Edited by sotf

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...