Advertisement
Guest User

Untitled

a guest
Aug 15th, 2023
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. if not isempty(thereAreFires) then
  2.             print("detected fire at:")
  3.             print(thereAreFires)
  4.            
  5.             local setchan = minetest.get_meta(pos):get_string("channel")
  6.            
  7.             print("sending to " .. setchan)
  8.            
  9.             local result = digiline:receptor_send(pos, digilines.rules.default, setchan, "fire")
  10.            
  11.             print(result)
  12.         end
  13.  
  14. -- Output:
  15.  
  16. detected fire at:
  17. (-518, 12, -382)
  18. sending to thing
  19. nil
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement