royalmichael
New Member
Posts: 3 Likes: 0
Currently Offline
Last Online: Feb 20, 2023 21:26:17 GMT
View Profile
Registered On: Jan 15, 2018 14:52:23 GMT
|
Post by royalmichael on Apr 17, 2020 13:32:13 GMT
Hi, I need a script for several characters to stand on 1 box and use the same item, i.e. a fishing rod. For example: 1 MC picks up an item from the ground, uses it on the water, throws it under itself for a few seconds and again picks it into the backpack and throws it into the hand under each other so that another character could do the same and alternately. Dear Regards.
|
|
|
Post by Darth Maul on Apr 23, 2020 10:53:11 GMT
Hey, Try something like this:
auto 100 | dontlist | set $item '1234' | collectitems 'empty' $item | wait 500 | if [$itemcount.$item >= 1] {useongroundxyz $item [$self.posx] [$self.posy+1] [$self.posz] | dropitemsxyz [$self.posx+1] [$self.posy] [$self.posz] $item | wait 2000}
This will try to pickup the item with the item ID of $item (1234). It will then use this item 1 square north of the player. It will then drop the item 1 square east of the player.
|
|