Hi, guys!
I need help with scrypt, which make any block do some action when the current output of solar panel is more or less than some value.
For example, if current output is more than 50 kW, turn on the antenna.
I can write simple codes, but I can't use the .DetailedInfo and work with indexes in the terminal.
So, can you write this code part and explain (possibly) how it works?
P.S. Sorry for my english
I need help with scrypt, which make any block do some action when the current output of solar panel is more or less than some value.
For example, if current output is more than 50 kW, turn on the antenna.
I can write simple codes, but I can't use the .DetailedInfo and work with indexes in the terminal.
So, can you write this code part and explain (possibly) how it works?
P.S. Sorry for my english