#i need help in fixing this skript
1 messages · Page 1 of 1 (latest)
Indent after :
it is not giving me anything now
could you fix it and slide the fixed skript in this forum
Why would he do that? It is better to learn yourslef isn't it?
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.
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.