Jump to content
  • 0

about cart items


cahadeyelo

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  169
  • Reputation:   1
  • Joined:  11/13/14
  • Last Seen:  

is there any resembling command to getinventorylist that checks the cart inventory instead of the inventory of the invoking player?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  191
  • Reputation:   24
  • Joined:  07/19/14
  • Last Seen:  

11 hours ago, cahadeyelo said:

is there any resembling command to getinventorylist that checks the cart inventory instead of the inventory of the invoking player?

you can use #cartlist command

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  169
  • Reputation:   1
  • Joined:  11/13/14
  • Last Seen:  

sir, there's no cartlist command on script_command.txt

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  191
  • Reputation:   24
  • Joined:  07/19/14
  • Last Seen:  

1 hour ago, cahadeyelo said:

sir, there's no cartlist command on script_command.txt

try it and also its working mam. use the latest file.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  169
  • Reputation:   1
  • Joined:  11/13/14
  • Last Seen:  

how exactly can i use #cartlist on this script?

	getinventorylist;
	if( @inventorylist_count > 0 ){
	mes "[ Baphomet ]";
	mes "Please empty your inventory before entering the ^0000FFGreenwood Lake Dungeon^000000.";
	close;
	}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  191
  • Reputation:   24
  • Joined:  07/19/14
  • Last Seen:  

On 2/15/2017 at 1:00 AM, cahadeyelo said:

how exactly can i use #cartlist on this script?


	getinventorylist;
	if( @inventorylist_count > 0 ){
	mes "[ Baphomet ]";
	mes "Please empty your inventory before entering the ^0000FFGreenwood Lake Dungeon^000000.";
	close;
	}

 

use atcommand "#cartlist "+strcharinfo(0);

 

kindly click heart button to give me a reputation if i already help you thanks. :D

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  169
  • Reputation:   1
  • Joined:  11/13/14
  • Last Seen:  

can you set an example of that command in a simple script that preventing the player to get through while interacting on the npc

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