Jump to content
  • 0

Npc for newbie? (Freebies)


Question

Recommended Posts

Posted (edited)

Hello, how about freebies with choices??

prontera,142,170,5	script	Freebies	936,{
	mes "[Hello]";
	mes "[I can give you a free gift based on your future job.]";
	mes "[Please choose the correct item for the future job]";

	if(!#Freebie) {
		mes "Select one:";
		next;
		switch(select("Swordsman:Magician - Ninja:Archer - Gunslinger:Acolyte:Merchant - Taekwon :Thief")) {
			case 1:
				getitem 12537,1;
				getitem 7256,1500;
				getitem 7726,1500;     //Item for Swordsman      
				break;

			case 2:
				getitem 12537,1;
				getitem 7256,1500;
				getitem 7726,1500;        //Item for Magician - Ninja
				break;

			case 3:
				getitem 12537,1;
				getitem 7256,1500;
				getitem 7726,1500;        //Item for Archer - Gunslinger
				break;
				
			case 4:
				getitem 12537,1;
				getitem 7256,1500;
				getitem 7726,1500;        //Item for Acolyte
				break;
			
			case 5:
				getitem 12537,1;
				getitem 7256,1500;
				getitem 7726,1500;        //Item for Merchant - Taekwon 
				break;
			
			case 6:
				getitem 12537,1;
				getitem 7256,1500;
				getitem 7726,1500;        //Item for Thief
				break;
				
			}
			set #Freebie, 1;
			close;
	}
	OnInit:
        delwaitingroom;
	waitingroom "Get your freebies here ! ",0;
	end;
}

Just edit the Items.

Edited by Ronald
  • 0
Posted

i use newbie reward script like page 1, base on Account, and i got problem, all ID in CBT season can't take in OBT season?? can someone tell me how to fix? i want all ID in CBT season can take reward in OBT season.

  • 0
Posted
On 9/12/2011 at 9:06 AM, Emistry said:

 


prontera,155,181,5 script Sample 718,{
if( !#Freebies ){
set #Freebies,1;
mes "Welcome...this is your gift...";
getitem 607,10;
getitem 7539,10;
}else{
mes "You have claim the Reward already.";
}
close;
}
 

 

if you want to make it Character Based..

change All #Freebies into Freebies

Edit the Price here

 


getitem 607,10;
getitem 7539,10;
 

 

Hello dear

Technical consultation: if the emulator is restarted, will the players who already claimed their prize be able to do it again?

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