Advertisement
Guest User

gofuckyourselfpleaseandthankyou

a guest
Jan 19th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. local REDNET_CHAN = 65535
  2. local modem, packet
  3. local modem_side = "back"
  4.  
  5. local message = "crusty crab unfair"
  6. local id = 0 -- id of the computer to spoof
  7. local proto  -- can be left as nil, unless you want to use a protocol
  8.  
  9. modem = peripheral.wrap(modem_side)
  10.  
  11. packet = {
  12.     nMessageID = math.random( 1, 2147483647 ),
  13.     message = message,
  14.     sProtocol = proto,
  15. }
  16.  
  17. modem.transmit(REDNET_CHAN, id, packet)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement