Jump to content
  • 0

Welcome pack ip and itembound


exchisu

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   1
  • Joined:  12/12/13
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  446
  • Reputation:   229
  • Joined:  03/20/12
  • Last Seen:  

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,{
	.@ip$ = replacestr(getcharip(),".","s");
	if (getd("$ip_"+.@ip$)) { // edit message here.
		mes "You have claimed your reward.";
		close;
	}
	mes "Here you go.";
	close2;
	setd "$ip_"+.@ip$, 1;
	// add items here..
	getitembound 1202, 1, Bound_Account;
	end;
}

 

  • Upvote 2
Link to comment
Share on other sites

  • 1

  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  830
  • Reputation:   316
  • Joined:  02/11/19
  • Last Seen:  

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,{
	.@ip$ = replacestr(getcharip(),".","s");
	if (getd("$ip_"+.@ip$)) { // edit message here.
		mes "You have claimed your reward.";
		close;
	}
	mes "Here you go.";
	close2;
	setd "$ip_"+.@ip$, 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

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   1
  • Joined:  12/12/13
  • Last Seen:  

9 hours ago, Mabuhay said:

prontera,150,180,0	script	Welcome Pack NPC	123,{
	.@ip$ = replacestr(getcharip(),".","s");
	if (getd("$ip_"+.@ip$)) { // edit message here.
		mes "You have claimed your reward.";
		close;
	}
	mes "Here you go.";
	close2;
	setd "$ip_"+.@ip$, 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

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   1
  • Joined:  12/12/13
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   1
  • Joined:  12/12/13
  • Last Seen:  

Gracias @Mael Thanks Working fine!

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