Jump to content
  • 0

Request a script for Novice training ground


Question

2 answers to this question

Recommended Posts

Posted

new_1-3,100,52,4	hadghadf	729,{
	if (BaseLevel < 11 || rcvitem = 0){
	getitem 501,1;	//item A
	set rcvitem,1;
	end;
	}
	if (BaseLevel > 10 || rcvitem2 = 0){
	getitem 502,1;	//item B
	delitem 501,1;	//delete item A
	set rcvitem2,1;
	end;
	}
	mes "[NPC]";
	mes "You have received the items available for your level";
	close;
}

try this one, I can't check it so just tell me the errors you'll get.

added a check so players can't abuse the item you are giving them (talking to npc many times)

edit to your preference.

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