Jump to content
  • 0

Requesting Xmas Event NPC


Aya

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  125
  • Reputation:   2
  • Joined:  08/27/12
  • Last Seen:  

Just a simple NPC.

The NPC will have an introduction about Xmas and about this event. (Your choice on what introduction you may want to prefer.) Then the main Quest is this:

for 15k DeceiveRO coin (Item ID = 30000) = 1 Falcon Clip (ID = 22009)

Then announced, This Player has successfully obtained Falcon Clip! Merry Christmas!

Exit.

Thanks! xD

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

You really shouldn't need help writing dialogue. It's your server.

mes "[Christmas Event]";
// description
next;
mes "[Christmas Event]";
if (countitem(30000) >= 15000) {
delitem 30000,15000;
getitem 22009,1;
mes "Here's a Falcon Clip!";
announce strcharinfo(0)+" has received a Falcon Clip!",0;
} else
mes "You need ^0055ff15k DeceiveRO Coins^000000 for a Falcon Clip.";
close;

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  125
  • Reputation:   2
  • Joined:  08/27/12
  • Last Seen:  


prontera,200,200,6 script Phyress 717,{
mes "[Phyress]";
mes "Hello "+strcharinfo(0)+", I was sent by GM-Aya to provide";
mes "you guys a great Christmas Event!";
mes "I'll tell you the secret of this event.";
emotion e_no1;
next;
mes "[Phyress]";
mes "This NPC is only valid until December 25, 3 AM GMT + 8.";
mes "So please hurry up and finish whatever quest I will give you!";
next;
mes "[Phyress]";
mes "I can give you a Falcon Clip[2].";
mes "All I need is 10,000 ^0055ff15k DeceiveRO Coins^000000.";
mes "Yes I know it is hard, but the prize is worth it! So that's all!";
mes "Talk to me again once you have the requirements. Thank you!";
next;
if (countitem(30000) >= 10000) {
delitem 30000,10000;
getitem 22009,1;
mes "Here's a Falcon Clip! Congratulations!";
mes "Thank you for participating DeceiveRO's Christmas Event! Till next year! =)";
mes "Bye!";
announce "+strcharinfo(0)+" has received a Falcon Clip!",0;
} else

mes "You need ^0055ff15k DeceiveRO Coins^000000 for a Falcon Clip.";
close;
}

Hi Euphy,

Kindly check my script. It's not appearing on game.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  815
  • Reputation:   86
  • Joined:  10/26/12
  • Last Seen:  

correction here

if(countitem(30000)<10000)

Edited by Mootie
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  125
  • Reputation:   2
  • Joined:  08/27/12
  • Last Seen:  

correction here

if(countitem(30000)<10000)

Hi, thanks for that problem. Another problem is that, when a player has 10,000 Coins already, when you click the NPC, nothing is happening. I think we should put a switch statement before the IF statement. Like Yes / No choices. I don't know how to do that, I am not yet good in scripting.

Nvm. Fixed.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  815
  • Reputation:   86
  • Joined:  10/26/12
  • Last Seen:  

hi i just modified your script and its working fine now...

correction here

if(countitem(30000)<10000)

Hi, thanks for that problem. Another problem is that, when a player has 10,000 Coins already, when you click the NPC, nothing is happening. I think we should put a switch statement before the IF statement. Like Yes / No choices. I don't know how to do that, I am not yet good in scripting.

Nvm. Fixed.

prontera,200,200,6	script	Phyress	717,{

mes "[Phyress]";
mes "Hello "+strcharinfo(0)+", I was sent by GM-Aya to provide";
mes "you guys a great Christmas Event!";
mes "I'll tell you the secret of this event.";
emotion e_no1;
next;
mes "[Phyress]";
mes "This NPC is only valid until December 25, 3 AM GMT + 8.";
mes "So please hurry up and finish whatever quest I will give you!";
next;
mes "[Phyress]";
mes "I can give you a Falcon Clip[2].";
mes "All I need is 10,000 ^0055ff15k DeceiveRO Coins^000000.";
mes "Yes I know it is hard, but the prize is worth it! So that's all!";
if(countitem(677)<1)
goto M_insufficient;
M_insufficient:
next;
mes "Talk to me again once you have the requirements. Thank you!";
next;
delitem 677,1;
getitem 607,1;
mes "Here's a Falcon Clip! Congratulations!";
mes "Thank you for participating DeceiveRO's Christmas Event! Till next year! =)";
mes "Bye!";
announce ""+strcharinfo(0)+" has received a Falcon Clip!",bc_all;
mes "You need ^0055ff15 DeceiveRO Coins^000000 for a Falcon Clip.";

close;
}

i put item check on about and a insuficient code if the palyer dont have the correct item

ops my bad you already fixed it didn't mention that you already fix it

Edited by Mootie
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...