Jump to content
  • 0

Question

Posted

i can someone help me to script?
i want make a npc like

every hour the price of apples will change

and gm can set up price

 

Apple [Price 2000] on at 3 o'clock

changed to

Apple [Price 5000] on at 4 o'clock

 

gm can set up the distance between the prices at random

2 answers to this question

Recommended Posts

Posted

I actually like the idea. Gonna follow this! 

It's better if there's player limit that can buy those apples on sale. FTW!  /ok

Ive already done this however I'm not releasing as its an ugly mess of a script,

 

 

this what you want?

prontera,164,175,3	shop	Apple-Lady	123,512:-1

	
prontera,165,174,3	script	ShopEditor	123,{
	message strcharinfo(0),"Hi~";
	if(getgroupid() >= 60) end;
	message strcharinfo(0),"How much Should Apples cost?";
	input(.@i,1,1000000);
	npcshopitem "Apple-Lady",512,.@i;
	end;
OnMinute01:
OnMinute16:
OnMinute31:
OnMinute46:
npcshopitem "Apple-Lady",512,rand(12,25);
}

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