Jump to content
  • 0

Questscript


Question

Posted (edited)

Hi,

I need fast help at this script >.<

merullian,104,158,4 script Jack Frost 898,{
set @n$, "[ ^8B0000Jack Frost^000000 ]"; // NPC Name

mes @n$;
mes "Hallo,";
mes "Ich kann dir einen Special Boys Cap herstellen!";
mes "Wähle aus was du möchtest: ";
menu "Black Feather Beret", Q1, "Blue Feather Beret", Q2, "Gold Feather Beret", Q3, "Green Feather Beret", Q4, "Nichts", CL;
	  // QUEST //
Q1:
if (countitem(22010)<1) goto NOIT;
 next;
mes @n$;
mes "Wunderbar, du hast alle Items gefunden !";
 next;
mes @n$;
mes "Möchtest du die Items nun abgeben?";
menu "Ja!", GET, "Nein", CL;
	  // QUEST //
Q2:
if (countitem(22010)<1), (countitem(22012)<1) goto NOIT;
 next;
mes @n$;
mes "Wunderbar, du hast alle Items gefunden !";
 next;
mes @n$;
mes "Möchtest du die Items nun abgeben?";
menu "Ja!", GET, "Nein", CL;
	  // QUEST //
Q3:
if (countitem(22010)<1), (countitem(22012)<1) goto NOIT;
 next;
mes @n$;
mes "Wunderbar, du hast alle Items gefunden !";
 next;
mes @n$;
mes "Möchtest du die Items nun abgeben?";
menu "Ja!", GET, "Nein", CL;
	  // QUEST //
Q4:
if (countitem(22010)<1), (countitem(22012)<1) goto NOIT;
 next;
mes @n$;
mes "Wunderbar, du hast alle Items gefunden !";
 next;
mes @n$;
mes "Möchtest du die Items nun abgeben?";
menu "Ja!", GET, "Nein", CL;
GET:
 next;		 // ITEMAUSGABE //
getitem 22634, 1;
delitem 22010, 1;
mes @n$;
mes "Viel Spaß damit!";
 close;
	  // NO ITEMS //
NOIT:
 next;
mes @n$;
mes "Du hast benötigst 1x ^FF69B4Special Event Schein^000000.";
 close;

	  // CLOSE //
CL:
 next;
mes @n$;
mes "Dann eben nicht !";
 close;
}

I want to make a function like this:

if (countitem(22010)<1), (countitem(22012)<1) goto NOIT;

so that I can choose what the Player need for this Custom item !

Thank you and a happy new year ;>

Edited by Lightning Farron

2 answers to this question

Recommended Posts

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