Jump to content
  • 0

How to make this getitem +7


Jheiar

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   0
  • Joined:  09/27/12
  • Last Seen:  

anyone can help me? thanks!

amatsu,116,146,3    script    Seyra    90,{
   if(#NewbieGift > 0)
   {
       mes "[seyra]";
       mes "I'm sorry, the rewards are exclusively for new players.";
       close;
   }
   mes "[seyra]";
   mes "Welcome! Here are some free gifts";
   mes "for newcomers:";
   for(set .@i,0; .@i < getarraysize(.rwd); set .@i,.@i + 2)
   mes .rwd[.@i + 1] + " x "+getitemname(.rwd[.@i]);
   close2;
   set #NewbieGift,1;
   for(set .@i,0; .@i < getarraysize(.rwd); set .@i,.@i + 2)
   getitem .rwd[.@i],.rwd[.@i+1];
   end;

OnInit:
   waitingroom "Newbie Gift!",0;
   setarray .rwd[0],2115,1,2357,1,2421,1,2524,1; // Rewards: <item id>,<item amount>
   end;
}

freebies.txt

Edited by Euphy
Codeboxed.
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   4
  • Joined:  02/04/12
  • Last Seen:  

use this

*getitem2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>};

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