Jump to content
  • 0
exchisu

Welcome pack ip and itembound

Question

Hi all, i was looking for a Welcome pack script with a itembound  (getitembound) i was trying somes but i get errors so...

Want a Welcome Pack NPC one per IP with itembound

 

Thanks!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 1
1 hour ago, exchisu said:

Hi all, i was looking for a Welcome pack script with a itembound  (getitembound) i was trying somes but i get errors so...

Want a Welcome Pack NPC one per IP with itembound

 

Thanks!

prontera,150,180,0	script	Welcome Pack NPC	123,{
	[email protected]$ = replacestr(getcharip(),".","s");
	if (getd("$ip_"[email protected]$)) { // edit message here.
		mes "You have claimed your reward.";
		close;
	}
	mes "Here you go.";
	close2;
	setd "$ip_"[email protected]$, 1;
	// add items here..
	getitembound 1202, 1, Bound_Account;
	end;
}

 

  • Upvote 2
Link to comment
Share on other sites

  • 1
48 minutes ago, exchisu said:

Im missing then the bound type...  would be getitembound 19596,1,1 then? (ID,amount,Boundtype)

prontera,150,180,0	script	Welcome Pack NPC	123,{
	[email protected]$ = replacestr(getcharip(),".","s");
	if (getd("$ip_"[email protected]$)) { // edit message here.
		mes "You have claimed your reward.";
		close;
	}
	mes "Here you go.";
	close2;
	setd "$ip_"[email protected]$, 1;
	// add items here..
	getitembound 1202, 1, Bound_Account;
	getitembound 1202, 1, Bound_Account;
	getitembound 1202, 1, Bound_Account;
	getitembound 1202, 1, Bound_Account;
	getitembound 1202, 1, Bound_Account;
	getitembound 1202, 1, Bound_Account;
	getitembound 1202, 1, Bound_Account;
	getitembound 1202, 1, Bound_Account;
	getitembound 1202, 1, Bound_Account;
	end;
}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0
9 hours ago, Mabuhay said:
prontera,150,180,0	script	Welcome Pack NPC	123,{
	[email protected]$ = replacestr(getcharip(),".","s");
	if (getd("$ip_"[email protected]$)) { // edit message here.
		mes "You have claimed your reward.";
		close;
	}
	mes "Here you go.";
	close2;
	setd "$ip_"[email protected]$, 1;
	// add items here..
	getitembound 1202, 1, Bound_Account;
	end;
}

 

Thanks Mahubay, you're a boss dude

Link to comment
Share on other sites

  • 0
18 minutes ago, exchisu said:

@Mabuhay why?

image.png.5d697cf26cd7affa9ed924a5cd3f3e52.png

because you blindly editing the script

---------------------------------------

*getitembound <item id>,<amount>,<bound type>{,<account ID>};
*getitembound "<item name>",<amount>,<bound type>{,<account ID>};

This command behaves identically to 'getitem', but the items created will be
bound to the target character as specified by the bound type. All items created
in this manner cannot be dropped, sold, vended, auctioned, or mailed, and in
some cases cannot be traded or stored.

Valid bound types are:
 Bound_Account : Account Bound item
 Bound_Guild   : Guild Bound item
 Bound_Party   : Party Bound item
 Bound_Char    : Character Bound item

---------------------------------------

 

  • Upvote 2
Link to comment
Share on other sites

  • 0
On 12/17/2019 at 4:48 PM, sader1992 said:

because you blindly editing the script

---------------------------------------

*getitembound <item id>,<amount>,<bound type>{,<account ID>};
*getitembound "<item name>",<amount>,<bound type>{,<account ID>};

This command behaves identically to 'getitem', but the items created will be
bound to the target character as specified by the bound type. All items created
in this manner cannot be dropped, sold, vended, auctioned, or mailed, and in
some cases cannot be traded or stored.

Valid bound types are:
 Bound_Account : Account Bound item
 Bound_Guild   : Guild Bound item
 Bound_Party   : Party Bound item
 Bound_Char    : Character Bound item

---------------------------------------

 

Im missing then the bound type...  would be getitembound 19596,1,1 then? (ID,amount,Boundtype)

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.