Jump to content
  • 0

Questscript


Werdio

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

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
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

Thak you Emistry :>

Link to comment
Share on other sites

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.

×
×
  • Create New...