Search found 2 matches
- Sat Nov 23, 2019 12:21 pm
- Forum: Modding help
- Topic: Syntax error
- Replies: 3
- Views: 1763
Re: Syntax error
Yes, and yes. Thank you guys so much for such a quick help and an explanation. I will try to learn more about what I'm trying to do next time before doing it.
- Fri Nov 22, 2019 9:38 pm
- Forum: Modding help
- Topic: Syntax error
- Replies: 3
- Views: 1763
Syntax error
Hello !
I'm trying to make a small mod, but it even it's current state it gives me an error.
script.on_event(defines.events.on_console_chat, function(event)
message = new_message
if new_message == "baza" then
data.raw.unit-spawner["biter-spawner"].health = 0
data.raw.unit-spawner["spitter-spawner ...
I'm trying to make a small mod, but it even it's current state it gives me an error.
script.on_event(defines.events.on_console_chat, function(event)
message = new_message
if new_message == "baza" then
data.raw.unit-spawner["biter-spawner"].health = 0
data.raw.unit-spawner["spitter-spawner ...