Jump to content
  • 1

Question

Posted (edited)

I edit it to make it works.. Feel free to use it.. Please leave me credit.. Thanks..

 

 

 

//===== rAthena Script ======================================= 
//= Novice Support NPC
//===== By: ================================================== 
//= rakuzas ([email protected])
//===== Current Version: ===================================== 
//= 1.0
//===== Compatible With: ===================================== 
//= rAthena SVN
//===== Description: ========================================= 
//= This script works but need some modification.
//= Novice Support NPC
//=
//= This NPC will give basic item for Novice and only can take once
//= While you still novice to avoid abuse.
//===== Additional Comments: ================================= 
//= 1.0 First version. rakuzas
//=
//============================================================
ra_temple,106,159,5 script Novice Support 864,{ 

// Name of the NPC 
set .name$, "[GM Lisa]"; 

if( novice = 1){ 
mes .name$; 
emotion e_swt2; 
mes "I already give the item for you."; 
close; 

} else { 

mes .name$; 
if (Class < 1) { 
emotion e_ho; 
mes "Hello young adventurer."; 
mes "I can give you free rental item and some items"; 
mes "Do you want it?"; 
next; switch(select( "You're so kind. Thank you!:Nah~ Im too pro for this!" )){ 

Case 1: 
mes .name$; 
emotion e_kis; 
mes "Please take this item and have a nice day~"; 
next; 
getitem 13764,1; //Beginner's Field Manual 5 Box 
getitem 14231,1; //Novice Plate box 
getitem 12324,100; //novice butterfly wing 
getitem 12323,300; //Novice fly wing 
getitem 569,500; //Novice potion 

set novice, 1;

mes "See you soon~"; 
break; 

Case 2:
mes .name$; 
emotion e_ag; 
mes "Such a arrogant person."; 
mes "^ff0000@kill "+ strcharinfo(0) +"^000000"; 
next; 
mes .name$; 
emotion e_omg; 
mes "Why my command not work?!"; 
mes "Maybe you're lucky!"; 
break; 

} close; 

} else { 
if (Class < 24) { 
mes "Congratulations!";
mes "I see you already reborn."; 
close; 
} 
end; } } }

 

 

Edited by rakuzas

10 answers to this question

Recommended Posts

Posted

I make new custom NPC.. But my problem is.. Each time we have take the item from this NPC, all other char from same account cannot take it anymore.. Im new in scripting so im asking help from here.. 

 

Here is my script.. 

 

ra_temple,106,159,5	script	Novice Support	864,{

// Name of the NPC
		set .name$, "[GM Lisa]";

    if( #novice = 1){
    mes .name$;
	emotion	e_swt2;
    mes "I already give the item for you.";
    close;
		}
		else
		{
	mes .name$;
	if (Class	<	1)	{
		emotion	e_ho;
		mes "Hello young adventurer.";
		mes "I can give you free rental item and some items";
		mes "Do you want it?";
		next;
		switch(select(	"You're so kind. Thank you!:Nah~ Im too pro for this!"	)){
		Case 1:
		mes .name$;
		emotion	e_kis;
		mes "Please take this item and have a nice day~";
		next;
		getitem	13764,1;	//Beginner's Field Manual 5 Box
		getitem	14231,1;	//Novice Plate box
		getitem	12324,100;	//novice butterfly wing
		getitem	12323,300;	//Novice fly wing
		getitem	569,500;	//Novice potion
		set #novice, 1;
		mes "See you soon~";
		break;
		Case 2:
		mes .name$;
		emotion	e_ag;
		mes "Such a arrogant person.";
		mes "^ff0000@kill "+ strcharinfo(0) +"^000000";
		next;
		mes .name$;
		emotion	e_omg;
		mes "Why my command not work?!";
		mes "Maybe you're lucky!";
			break;
			}
	close;
}
		else
		{
if (Class	<	24)	{
		mes "Congratulations!";
		mes "I see you already reborn.";
		close;
		}
end;
}
}
}

May i use this npc? :)

Posted

Hahaha.. Its not complete.. But at least please leave credit since i make it.. /no1

ok hehe but you have to add your credits to the scripts if you want people leave them ^_^, since you say its not complete  -SkittleNugget- Edited for me and its working very good i just modify the freebies

and npc name, but i want it as is only 1 char per account, i will leave the edited one here if you want to use it, its working awesome.

 

====> Edited version by -SkittleNugget- <=====

//============================================
//= Npc that gives freebies to the new
//============================================
//= Rewritten by SkittleNugget (rAthena.org)
//============================================
prontera,146,161,6	script	Novice Support	893,{

    if( #PlayerRecievedFreebies )
	{
		mes "[Emely]";
		emotion	e_swt2;
		mes "You already claimed your free items or you are not a novice anymore, Remember that i'll give you some free stuffs only once per account!";
		close;
	}
		else if ( Class < 1 )
	{
		mes "[Emely]";
		emotion	e_ho;
		mes "Hello young adventurer and welcome to Kyojin RO";
		mes "I can give you some free items to help you grown fast";
		mes "Do you want it?";
		next;
		if ( select("You're so kind. Thank you!:Nah~ Im too pro for this!")==2)
		{
			mes "[Emely]";
			emotion	e_ag;
			mes "Such a arrogant person.";
			mes "^ff0000@kill "+ strcharinfo(0) +"^000000";
			next;
			mes "[Emely]";
			emotion	e_omg;
			mes "Why my command not work?!";
			mes "Maybe you're lucky!";
			close;
		}
		mes "[Emely]";
		emotion	e_kis;
		mes "Please take this item and have a nice day~";
		next;
		getitem	504,30;	//White Potion
		getitem	645,25;	//Concentration potion
		getitem	14533,4;	//Field Manual
		getitem	14232,10;	//ygg berry box(10)
		getitem	4142,1;	//Doppelganger Card
		set #PlayerRecievedFreebies, 1;
		mes "See you soon~";
		close;
	}
}
Posted (edited)

Hahaha.. Its not complete.. But at least please leave credit since i make it..  /no1

ok hehe but you have to add your credits to the scripts if you want people leave them  ^_^, since you say its not complete  -SkittleNugget- Edited for me and its working very good i just modify the freebies

and npc name, but i want it as is only 1 char per account, i will leave the edited one here if you want to use it, its working awesome.

 

Hmm.. I dont see much diifferent from the one edited and my original scripts.. I already edit the scripts and have make is working.. /no1

Edited by Capuche
Remove useless long quote content

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