#i need help in fixing this skript

1 messages · Page 1 of 1 (latest)

terse briar
#

can someone make this skript correctly.The problem is when you click on confirm block it only gives you obi out of 7 other items

void tulip
#

Indent after :

terse briar
#

it is not giving me anything now

#

could you fix it and slide the fixed skript in this forum

modern kestrel
#

Why would he do that? It is better to learn yourslef isn't it?

terse briar
#

yea but i am trying to fix it and there were no error even after identing it and i also did some research and nothing is working so i was wondering if he could.

umbral shale
#

This script goes crazy damn

#

No one wants to just sit here and fix your code, we want you to learn what was wrong so you can become self-sufficient! I'll give you some pointers though. Like Sorboon said, indent after :. if "%{_craterng}%" is "1": chance of 10%: give 16 obsidian to player stop
Needs to be if "%{_craterng}%" is "1": chance of 10% give 16 obsidian to player stop
Some things to note: you don't need a semi-colon after a chance of trigger, and I personally think it helps clean up the code a bit to not have it. You also don't need a stop here. If {_craterng} is 1, it cannot be 2 or 3 or 4 or 5, etc. The script is going to stop after that regardless.