Jump to content
  • 0

Help me this


Phantom Of Rogue-Gon

Question


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  


prt_fild04,249,132,5	script	Jordeo	107,{

mes "[" + strcharinfo(0) + "]"; 
	mes "Hi,  There...."; 
	next; 
	menu "Yes",-,"Cancel",L_Cancel;
	mes "[" + strcharinfo(0) + "]";
	mes "Good good, let me just check"; 
	next;
	if(countitem(7280)<1 || countitem(7281)<1 || countitem(7282)<1 || countitem(7283)<1) goto L_NoMake; 
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "Please Bring me items"; 
	mes "^362ED6Gold Coin 150pcs^000000";
	mes "^362ED6Broken Crown 5pcs^000000"; 
	mes "^362ED6Masque of Tutankhamen  10pcs^000000"; 
	if(countitem(7517)<150 || countitem(7754)<5 || countitem(7114)<10) goto L_NoMake; 
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "Excited??"; 
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "Excited?? i think"; 
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "Excited?? ok!!"; 
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "^362ED6Tongue 10pcs^000000"; 
	mes "^362ED6Gemstone  5pcs^000000"; 
	mes "^362ED6Piece of Shield  10pcs^000000"; 
	mes "^362ED6Mother's Nightmare 5pcs^000000"; 
	mes "^362ED6Heroic Emblem  10pcs^000000"; 
	mes "^362ED6Ice Scale  10pcs^000000";
	if(countitem(1015)<10 || countitem(7300)<5 || countitem(7108)<10 || countitem(7020)<5 || countitem(968)<10 || countitem(7562)<10) goto L_NoMake; 
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "Excited??"; 
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "Excited?? i think"; 
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "Excited?? ok!!"; 
	mes "[" + strcharinfo(0) + "]";
	mes "Please Bring me items"; 
	mes "^362ED6TCG 100pcs^000000";
	if(countitem(7227)<100 || countitem(909)<200) goto L_NoMake; 
	delitem 7280,1;
	delitem 7281,1;
	delitem 7282,1;
	delitem 7283,1;
	delitem 7517,150;
	delitem 7754,5;
	delitem 7114,10;
	delitem 1015,10;
	delitem 7300,5;
	delitem 7108,10;
	delitem 7020,5;
	delitem 968,10;
	delitem 7562,10;
	delitem 7227,100;
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "Give me a second.....";
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "Ok Thanks!";
	menu "Yes",-,"Cancel",L_Cancel;
	next;
	mes "excited?";
	next;
	mes "o.0 =)";
	next;
	announce "Wwwooowww! Aaayyyoonn ohhh!!! [" + strcharinfo(0) + "] Congrats done for Ancient Quest",0;
	mes "you have ^362ED6Congrats your Done^000000";
	getitem 7338,1;
	next;
	mes "GoodPlayer";
	close;

L_NoMake:
	mes "[" + strcharinfo(0) + "]";
	mes "You don't have the requirements.";
	mes "Please come back another time...";
	close;

L_Bl: 
	mes "[" + strcharinfo(0) + "]";
	mes "Ok all you have to do is collect:"; 
	mes "^362ED610 TCG^000000";
	mes "^362ED610 Coin^000000";
	mes " ";
	mes " ";
	mes "Before Proceed the Next Challange";
	next;
	menu "Accept",-, "Leave",L_Leave;

	mes "[Jordeo]";
	mes "When you are done, bring the items to me.  Ok good luck finding those items.";
	close;

L_Leave:
	mes "[Jordeo]";
	mes "Maybe another time?";
	close;

L_Cancel:
	mes "[" + strcharinfo(0) + "]";
	mes "Aw, what a shame";
	mes "Giving up already?";
	close;
}

 how can i change this

if(countitem(1015)<10 || countitem(7300)<5 || countitem(7108)<10 || countitem(7020)<5 || countitem(968)<10 || countitem(7562)<10) goto L_NoMake; 

 to this

 

	set #CASHPOINTS,#CASHPOINTS-1422;
	dispbottom "[FULL GUARD RAGNAROK EVENT] You have [POINTS -10]";

 

 i want to this script if the player have no points she/he can trade the cashpoint to item

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

prt_fild04,249,132,5    script    Jordeo    107,{
//mes "[" + strcharinfo(0) + "]"; WHY STRCHAR INFO INSTEAD NPC NAME?
set $NPC_TRADER$, "[Jordeo]";
    
       mes $NPC_TRADER$;
    mes "Hi, There....";
    mes "So what are you up to?";
    mes "Do you want to Trade?";
    menu "Cash Points",pp,"Normal Trading",gg;
pp:
    callshop "Ticket S", 0;
    end;
gg:
    next;
    menu "Yes",-,"Cancel",L_Cancel;
    mes $NPC_TRADER$;
    mes "Hey " + strcharinfo(0) + " just wait ok!";
    next;
    mes $NPC_TRADER$;
    mes "Good good! let me just check";
    if(countitem(7280)<1 || countitem(7281)<1 || countitem(7282)<1 || countitem(7283)<1) goto L_NoMake;
    next;
    mes $NPC_TRADER$;
    mes "Please Bring me items";
    mes "^362ED6Gold Coin 150pcs^000000";
    mes "^362ED6Broken Crown 5pcs^000000";
    mes "^362ED6Masque of Tutankhamen  10pcs^000000";
    if(countitem(7517)<150 || countitem(7754)<5 || countitem(7114)<10) goto L_NoMake;
    next;
    mes $NPC_TRADER$;
    mes "Excited??";
    next;
    mes $NPC_TRADER$;
    mes "Excited?? i think";
    next;
    mes $NPC_TRADER$;
    mes "Excited?? ok!!";
    next;
    mes $NPC_TRADER$;
    mes "^362ED6Tongue 10pcs^000000";
    mes "^362ED6Gemstone  5pcs^000000";
    mes "^362ED6Piece of Shield  10pcs^000000";
    mes "^362ED6Mother's Nightmare 5pcs^000000";
    mes "^362ED6Heroic Emblem  10pcs^000000";
    mes "^362ED6Ice Scale  10pcs^000000";
    if(countitem(1015)<10 || countitem(7300)<5 || countitem(7108)<10 || countitem(7020)<5 || countitem(968)<10 || countitem(7562)<10) goto L_NoMake;
    next;
    mes $NPC_TRADER$;
    mes "Excited??";
    next;
    mes $NPC_TRADER$;
    mes "Excited?? i think";
    next;
    mes $NPC_TRADER$;
    mes "Excited?? ok!!";
    next;
    mes $NPC_TRADER$;
    mes "Please Bring me items";
    mes "^362ED6TCG 100pcs^000000";
    if(countitem(7227)<100 || countitem(909)<200) goto L_NoMake;
    delitem 7280,1;
    delitem 7281,1;
    delitem 7282,1;
    delitem 7283,1;
    delitem 7517,150;
    delitem 7754,5;
    delitem 7114,10;
    delitem 1015,10;
    delitem 7300,5;
    delitem 7108,10;
    delitem 7020,5;
    delitem 968,10;
    delitem 7562,10;
    delitem 7227,100;
    next;
    mes $NPC_TRADER$;
    mes "[" + strcharinfo(0) + "]";
    mes "Give me a second.....";
    next;
    mes $NPC_TRADER$;
    mes "Ok Thanks!";
    menu "Yes",-,"Cancel",L_Cancel;
    next;
    mes $NPC_TRADER$;
    mes "excited?";
    next;
    mes $NPC_TRADER$;
    mes "o.0 =)";
    next;
    announce "Wwwooowww! Aaayyyoonn ohhh!!! [" + strcharinfo(0) + "] Congrats done for Ancient Quest",0;
    mes $NPC_TRADER$;
    mes "you have ^362ED6Congrats your Done^000000";
    getitem 7338,1;
    next;
    mes $NPC_TRADER$;
    mes "GoodPlayer";
    close;

L_NoMake:
    next;
    mes $NPC_TRADER$;
    mes "You don't have the requirements.";
    mes "Please come back another time...";
    close;

L_Bl:
    next;
    mes $NPC_TRADER$;
    mes "Ok all you have to do is collect:";
    mes "^362ED610 TCG^000000";
    mes "^362ED610 Coin^000000";
    mes " ";
    mes " ";
    mes "Before Proceed the Next Challange";
    next;
    menu "Accept",-, "Leave",L_Leave;

    mes $NPC_TRADER$;
    mes "When you are done, bring the items to me.  Ok good luck finding those items.";
    close;

L_Leave:
    next;
    mes $NPC_TRADER$;
    mes "Maybe another time?";
    close;

L_Cancel:
    next;
    mes $NPC_TRADER$;
    mes "Aw, what a shame";
    mes "Giving up already?";
    close;
}
// Arrange the Price next to 7338:"1000"
-    cashshop    Ticket S    -,7338:1000


I dont actually understand what this NPC does, i cant understand what your NPC is saying. Still i know what you want and i do some fixing.

Fix NPC name, Arrange some stuffs, just edit the cash shop ok?

Added Menu in the intial talk with npc.

menu "Cash Points",pp,"Normal Trading",gg;
Edited by Lil Troll
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

if the player have 0 balance cashpoint they can trade or else?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

Ofcourse they cant. :D

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