Jump to content
  • 0

Easy Script didn't work `.´


Question

Posted (edited)

Hi,

I need help (again) with this script x.x


merullian,105,182,4 script Serah Farron 408,{

set @n$, "[ ^8B0000Serah Farron^000000 ]"; // NPC Name


mes @n$;
mes "Oh, hallo du ..";
mes "... ich sehe, dass Avalenya Geburtstag hatte.";
mes "Deswegen bin ich hier her gereist um Geschenke zu verteilen!";
mes "Dazu benötige ich jedoch Hilfe.";
next;
mes @n$;
mes "Möchtest du mir helfen?";
menu "Ja gerne. " Q1, "Nein, ich habe keine Zeit.", CL;

// QUEST //
Q1:
if (countitem(7451)<1 || countitem(7439) < 2 || countitem(7447) < 100 || countitem(5002) < 1 || countitem(975) < 1 ) goto NOIT1;
next;
mes @n$;
mes "Wunderbar, du hast alle Items gefunden !";
next;
mes @n$;
mes "Möchtest du die Items nun abgeben?";
menu "Ja !", GET1, "Nein noch nicht.", CL;

GET1:
next; // ITEMAUSGABE //
getitem 22096, 1;
delitem 7451, 1;
delitem 7439, 2;
delitem 7447, 100;
delitem 5002, 1;
delitem 975, 1;
mes @n$;
mes "So .. hier hast du deine spezielle Krone !";
close;
// NO ITEMS //
NOIT1:
next;
mes @n$;
mes "Du hast benötigst:";
mes "1x Fire Dragon Scale";
mes "2x Fragment of Despair";
mes "100x Red Bijou";
mes "1x Jewel Crown";
mes "1x Scarlet Dyestuffs";
close;
// CLOSE //
CL:
next;
mes "Schade .. ich würde dich gerne beschenken...";
close;
}

It loads but I can't speak with the NPC .

Edited by Emistry
Please use [CODEBOX] or Attachments for long contents.

3 answers to this question

Recommended Posts

Posted

quiz_02,356,344,4	script	Serah Farron	408,{
@npc$ = "[ ^8B0000Serah Farron^000000 ]"; // NPC Name

mes @n$;
mes "Oh du ..";
mes "... ich sehe, dass Avalenya Geburtstag hatte.";
mes "Würdest du mir helfen eine spezielle Krone für Avalenya herzustellen?: ";
menu

"^000000Ja -^FF0000 1", L_ja,
"^000000Nein -^FF0000 1", L_nen;
	  // QUEST //
L_ja:
mes "You have selected ^FF0000Angel Ripper^000000";
mes "[ Cost : 1 ja ] ";
mes "1x ja";
next;
menu "Exchange",-,"Cancel", L_cancel;
if(countitem(7451)<1) goto L_not_enough;
getitem 22500, 1;
delitem 677, 1;
close;
L_nen:
mes "You have selected ^FF0000Angel Ripper^000000";
mes "[ Cost : 1 nen ] ";
mes "1x nen";
next;
menu "Exchange",-,"Cancel", L_cancel;
if(countitem(7451)<1) goto L_not_enough;
getitem 22500, 1;
delitem 677, 1;
close;
L_not_enough:
mes "But, you dont have enough Platinum Coin...";
close;

end;
}
 next;
mes "Schade .. ich würde Avalenya gerne beschenken...";
 end;
}

Just modify this script to your needs....

nvm...

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