Get potion with /give

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

drillzy

Member
Aug 6, 2017
22
0
0
20
Hello! I have an error! I want my players to get a instant health 1 potion,
Code:
execute console command "give %arg 1% 0438:16389 %{rewardchancehealth}% name:&c&lHealth_Pack"
but when it does that, it gives them a completely glitched out potion with no effects. it gives me that no texture block, the black and purple. how do i fix this! please help!
 
Since 1.9, potions do not use data values anymore, meaning this won't work. QuarSK provides just what you need.
code_language.skript:
set {_potion} to regular potion with instant health for 1 second with tier 1
give {_potion} to player

QuarSK doesn't support 1.8. If you're in 1.8, then you screwed up badly your command.
 
Since 1.9, potions do not use data values anymore, meaning this won't work. QuarSK provides just what you need.
code_language.skript:
set {_potion} to regular potion with instant health for 1 second with tier 1
give {_potion} to player

QuarSK doesn't support 1.8. If you're in 1.8, then you screwed up badly your command.
this doesnt work... gives me error: Can't understand this expression: 'regular potion with instant health for 1 second with tier 1'
 
Status
Not open for further replies.