Jump to content
  • 0

Request For Simple Scripts


Question

Posted

hye guys i would like to request a simple npc script,

 

Feature :

 

1. save point

2. open storage

3. open guild storage [if the guild master allow the guild member to open them]

 

Thanks For Your Help !  /ok

 

3 answers to this question

Recommended Posts

Posted
prontera,150,190,3	script	Kafra Employee::kaf_prontera20	112,{
	cutin "kafra_06",2;
	callfunc "F_KafSet";
	mes "[Kafra Employee]";
	mes "Welcome to the";
	mes "Kafra Corporation~";
	mes "The Kafra Services are";
	mes "always here to support";
	mes "you. So how can I be";
	mes "of service today?";
	callfunc "F_Kafra",5,0,0,40,800;
	savepoint "prontera",155,175;
	callfunc "F_KafEnd",0,1,"in the city of Prontera";
}

Just change save point. Not sure on the guild part though, sorry.

Posted

Here you go, wrote this from scratch. This should be exactly what you need. I made it so that your save point is wherever you're standing at the time that you save, which I think is a nice feature. Also offers storage and guild storage as requested. Change the name, sprite etc as you wish. Enjoy.

sec_in02,136,173,5	script	Meta Kafra	842,{
mes "[Meta Kafra]";
mes "Hello, welcome to the Meta Kafra service. In addition to letting you save in any spot you're standing on, I can open your personal storage and guild storage for you! What'll it be, friend?";
next;
menu "Save.",A_1,"Open Storage.",A_2,"Open Guild Storage.",A_3;
next;

A_1:
mes "[Meta Kafra]";
mes "Your Save Point has been established. Good luck in your journey.";
next;
getmapxy(@m$,@x,@y,0);
savepoint	@m$,@x,@y;
close;

A_2:
openstorage;
close;
end;

A_3:
guildopenstorage();
close;
end;


}

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