Jump to content
  • 0

Q>quest script


Question

Posted

can i ask? what should i add to this script so that it will announce the player who quested it and the item that he quest? it will broadcast to entire ragnarok world

glast_01,47,111,4	script	Jack	1267,{
	mes "[Jack]";
	mes "Howdy, new customer!!";
	mes "I know what you're gonna talk about. You want the Joker Jester from me, riiiiight?";
	next;
	switch(select("What is that?:Manufacture:Ignore him")) {
	case 1:
		mes "[Jack]";
		mes "I will let you";
		mes "know the items I need...";
		next;
		mes "[Jack]";
		mes "1 ^3355FFJoker Jester^000000!";
		mes "300 ^3355FFAuthoritative Badge^000000!";
		mes "10 ^3355FFLemon Dyestuffs^000000!";
		mes "10 ^3355FFCobaltblue Dyestuffs^000000!";
		mes "10 ^3355FFDarkgreen Dyestuffs^000000!";
		mes "1 ^3355FFPoring Coin^000000!";
		mes "And ^3355FF1,000,000 Zeny^000000!";
		close;
	case 2:
		if ((countitem(5003) > 0) && (countitem(662) > 299) && (countitem(976) > 9) && (countitem(978) > 9) && (countitem(979) > 9) && (countitem(7539) > 0) &&(Zeny > 999999)) {
			mes "[Jack]";
			mes "Perfect, perfect !";
			mes "Now my masterpiece will be complete!";
			mes "Muhahahaha !";
			next;
			delitem 5003,1;  // Joker Jester
			delitem 662,300;  // Authoritative Badge
			delitem 976,10;  // Lemon Dyestuffs
			delitem 978,10;  // Cobaltblue Dyestuffs
			delitem 979,10; //Darkgreen Dyestuffs
			delitem 7539,1; //Poring Coin
			set Zeny, Zeny-1000000;
			mes "[Jack]";
			mes "Here you are!";
			mes "Joker Jester !";
			getitem 5150,1; // Joker Jester 
			next;
			mes "[Jack]";
			mes "Just remember...";
			mes "Don't peep at something you shouldn't look at. Well, at least try not to.";
			close;
		}
		else {
			mes "[Jack]";
			mes "Argggghhhhhhh!!";
			mes "You didn't bring";
			mes "enough items!!!!";
			mes "How dare you";
			mes "disgrace me!!!";
			mes "Baaaadddd !!";
			close;
		}
	case 3:
		mes "[Jack]";
		mes "Ok bye!";
		mes "Thanks for your time!";
		close;
	}
}

2 answers to this question

Recommended Posts

Posted (edited)

 

can i ask? what should i add to this script so that it will announce the player who quested it and the item that he quest? it will broadcast to entire ragnarok world

glast_01,47,111,4	script	Jack	1267,{
	mes "[Jack]";
	mes "Howdy, new customer!!";
	mes "I know what you're gonna talk about. You want the Joker Jester from me, riiiiight?";
	next;
	switch(select("What is that?:Manufacture:Ignore him")) {
	case 1:
		mes "[Jack]";
		mes "I will let you";
		mes "know the items I need...";
		next;
		mes "[Jack]";
		mes "1 ^3355FFJoker Jester^000000!";
		mes "300 ^3355FFAuthoritative Badge^000000!";
		mes "10 ^3355FFLemon Dyestuffs^000000!";
		mes "10 ^3355FFCobaltblue Dyestuffs^000000!";
		mes "10 ^3355FFDarkgreen Dyestuffs^000000!";
		mes "1 ^3355FFPoring Coin^000000!";
		mes "And ^3355FF1,000,000 Zeny^000000!";
		close;
	case 2:
		if ((countitem(5003) > 0) && (countitem(662) > 299) && (countitem(976) > 9) && (countitem(978) > 9) && (countitem(979) > 9) && (countitem(7539) > 0) &&(Zeny > 999999)) {
			mes "[Jack]";
			mes "Perfect, perfect !";
			mes "Now my masterpiece will be complete!";
			mes "Muhahahaha !";
			next;
			delitem 5003,1;  // Joker Jester
			delitem 662,300;  // Authoritative Badge
			delitem 976,10;  // Lemon Dyestuffs
			delitem 978,10;  // Cobaltblue Dyestuffs
			delitem 979,10; //Darkgreen Dyestuffs
			delitem 7539,1; //Poring Coin
			set Zeny, Zeny-1000000;
			mes "[Jack]";
			mes "Here you are!";
			mes "Joker Jester !";
			getitem 5150,1; // Joker Jester 
			next;
			mes "[Jack]";
			mes "Just remember...";
			mes "Don't peep at something you shouldn't look at. Well, at least try not to.";
			close;
		}
		else {
			mes "[Jack]";
			mes "Argggghhhhhhh!!";
			mes "You didn't bring";
			mes "enough items!!!!";
			mes "How dare you";
			mes "disgrace me!!!";
			mes "Baaaadddd !!";
			close;
		}
	case 3:
		mes "[Jack]";
		mes "Ok bye!";
		mes "Thanks for your time!";
		close;
	}
}

add this on below or above getitem 5150,1;

announce "Wow "+strcharinfo(0)+" has been completed the Joker Jester Quest!",bc_all,0x00ff66;

Edited by Yonko

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