Jump to content
  • 0

Custom Quest


Ukiram

Question


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.02
  • Content Count:  291
  • Reputation:   26
  • Joined:  12/16/17
  • Last Seen:  

Hi, I would like to request a support from you guys. 

I want quest npc that allows you to equipped an item first before take a quest and after you equipped an item and successful.

The NPC will gives you a Item Choices what items you want to quest.

 

Choices

Weapon 1

Weapon 2

Weapon 3

Weapon 4

Weapon 5

After you choose a choices he will gives you an requirements per items then he will allows you to bring the requirements in exchange of the weapon. (announce if possible)

 

Here's my script, but need to edit.

 

PS: I don't know if i posted on the right forum section. But if i post it in wrong section kindly please moved me to the right section. Thank you! ?

 

Quote

aldebaran,150,147,6 script Toji 766,{
if (!isequipped(5009, 2406)) { mes "Please use Safety Helmet[0] & Boots[1] Before Talk."; close; }

set .@n$,"^0000FF[Toji]^000000";
mes .@n$;
mes "You have 200 Bacillus and 150 Mould Powder?";
menu "Yes",-,"It's Hard",end2;
if (countitem(7119) < 200 || countitem(7001)  < 150) goto L_NOTENOUGH;
next;
delitem 7119,200;
delitem 7001,150;
next;
mes .@n$;
mes "Oh my God,you got it all.";
mes "thanks for helping older guy.";
mes "here is your reward.";
next;
getitem 5131,1;
mes .@n$;
mes "Take it...it's such a nice";
mes "item...";
close;
end2:
next;
mes .@n$;
mes "Too bad...You are too lazy";
mes "to do this job.";
close;
L_NOTENOUGH:
next;
mes .@n$;
mes "You still miss some items";
close;
}

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.02
  • Content Count:  206
  • Reputation:   10
  • Joined:  08/30/19
  • Last Seen:  

1 hour ago, Ryo Osaki said:

Hi, I would like to request a support from you guys. 

I want quest npc that allows you to equipped an item first before take a quest and after you equipped an item and successful.

The NPC will gives you a Item Choices what items you want to quest.

 

Choices

Weapon 1

Weapon 2

Weapon 3

Weapon 4

Weapon 5

After you choose a choices he will gives you an requirements per items then he will allows you to bring the requirements in exchange of the weapon. (announce if possible)

 

Here's my script, but need to edit.

 

PS: I don't know if i posted on the right forum section. But if i post it in wrong section kindly please moved me to the right section. Thank you! ?

 

 

 

1 hour ago, Ryo Osaki said:

Hi, I would like to request a support from you guys. 

I want quest npc that allows you to equipped an item first before take a quest and after you equipped an item and successful.

The NPC will gives you a Item Choices what items you want to quest.

 

Choices

Weapon 1

Weapon 2

Weapon 3

Weapon 4

Weapon 5

After you choose a choices he will gives you an requirements per items then he will allows you to bring the requirements in exchange of the weapon. (announce if possible)

 

Here's my script, but need to edit.

 

PS: I don't know if i posted on the right forum section. But if i post it in wrong section kindly please moved me to the right section. Thank you! ?

 

 

if ( !isequipped( ID,ID ) ) { 

 

i guess it's like this

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.02
  • Content Count:  291
  • Reputation:   26
  • Joined:  12/16/17
  • Last Seen:  

2 minutes ago, Takuyakii said:

 

if ( !isequipped( ID,ID ) ) { 

 

i guess it's like this

I already did that, i'm asking about choices not ifequipped but thanks.

 

FIXED!!!

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