Jump to content
  • 0

Freebies NPC


Ajaxx

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   5
  • Joined:  02/01/19
  • Last Seen:  

Good Day, rAthena!

Here's my script. I want it to become Account Bounded. can you help me?

prontera,147,171,3    script    IRO Freebies Giver    564,{
mes "[^000088 Freebies Giver ^000000]";
mes "Hello "+strcharinfo(0)+", Welcome To PVP-RO.";
mes "I'm the freebies giver.";
mes "I only give 1 freebies per account and can be use by this character only.";
next;
mes "[^000088 Freebies Giver ^000000]";
 
if(#freebies) {
    mes "You already have your freebies.";
    close;
}
 
if (select ("Please Bless me:I Change my mind") == 2) {
    Mes "Come back for my Blessing";
    Mes "Thank you";
    close;
}
 
else {
    set #freebies, 1;
    getitem2 1102,1,1,10,0,0,0,0,0; //
    getitem2 1151,1,1,10,0,0,0,0,0; //
    getitem2 1208,1,1,10,0,0,0,0,0; // 
    getitem2 1251,1,1,10,0,0,0,0,0; // 
    getitem2 1302,1,1,10,0,0,0,0,0; // 
    getitem2 1352,1,1,10,0,0,0,0,0; //
    getitem2 1405,1,1,10,0,0,0,0,0; //
    getitem2 1452,1,1,10,0,0,0,0,0; //
    getitem2 1502,1,1,10,0,0,0,0,0; //
    getitem2 1550,1,1,10,0,0,0,0,0; //
    getitem2 1602,1,1,10,0,0,0,0,0; //
    getitem2 1702,1,1,10,0,0,0,0,0; //
    getitem2 1802,1,1,10,0,0,0,0,0; //
    getitem2 1951,1,1,10,0,0,0,0,0; //
    getitem2 1929,1,1,10,0,0,0,0,0; //     
 
    mes "[^000088 Freebies Giver ^000000]";
    mes "Enjoy your Gifts.";
    close;
 }
end; //Should never happen
            
OnInit:
waitingroom "Freebies NPC",0;
end;
}

 

Edited by Emistry
Please use codebox.
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

    getitembound2 1102,1,1,10,0,0,0,0,0,Bound_Account;
    getitembound2 1151,1,1,10,0,0,0,0,0,Bound_Account;
    getitembound2 1208,1,1,10,0,0,0,0,0,Bound_Account; 
    getitembound2 1251,1,1,10,0,0,0,0,0,Bound_Account; 
    getitembound2 1302,1,1,10,0,0,0,0,0,Bound_Account; 
    getitembound2 1352,1,1,10,0,0,0,0,0,Bound_Account;
    getitembound2 1405,1,1,10,0,0,0,0,0,Bound_Account;
    getitembound2 1452,1,1,10,0,0,0,0,0,Bound_Account;
    getitembound2 1502,1,1,10,0,0,0,0,0,Bound_Account;
    getitembound2 1550,1,1,10,0,0,0,0,0,Bound_Account;
    getitembound2 1602,1,1,10,0,0,0,0,0,Bound_Account;
    getitembound2 1702,1,1,10,0,0,0,0,0,Bound_Account;
    getitembound2 1802,1,1,10,0,0,0,0,0,Bound_Account;
    getitembound2 1951,1,1,10,0,0,0,0,0,Bound_Account;
    getitembound2 1929,1,1,10,0,0,0,0,0,Bound_Account;

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   5
  • Joined:  02/01/19
  • Last Seen:  

bump

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