Jump to content

rap

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Philippines
  • Server
    GatheringRO

rap's Achievements

Poring

Poring (1/15)

0

Reputation

  1. What i mean is if I want to use getitem and i want to use the value from a previous inputted value how do I do it? Can you correct this for me? Thanks in advance! ^^ case 4: // Convert Badges mes "[Erundek]"; mes "[so you want to convert your badges to War Badge, huh?]"; menu "Bravery Badges to War Badge",bbadge,"Valor Badges to War Badge",vbadge; bbadge; mes "Input the number of badges you want to convert:"; input .@bdg; @count1 = countitem(7828); if (.@bdg >= .@count1) { getitem 7773, .@bdg; @delitem 7828, .@bdg;} close; else {mes "You have insufficient badges"; } close; end; vbadge; mes "Input the number of badges you want to convert:"; intput .@bdg; @count1 = countitem(7829); if (.@bdg >= .@count1) { getitem 7773, .@bdg; @delitem 7829, .@bdg;} close; else {mes "You have insufficient badges"; } close; end;
  2. Hi, guys! Im kinda new in scripting. I just want to ask how do i get the value of an item in a player's inventory. ex. I want to get how many apples do I have in my inventory? And use its value in an IF statement? (SOLVED) next question, How do i get the value of an input variable to be used in a getitem command?
×
×
  • Create New...