Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local REDNET_CHAN = 65535
- local modem, packet
- local modem_side = "back"
- local message = "crusty crab unfair"
- local id = 0 -- id of the computer to spoof
- local proto -- can be left as nil, unless you want to use a protocol
- modem = peripheral.wrap(modem_side)
- packet = {
- nMessageID = math.random( 1, 2147483647 ),
- message = message,
- sProtocol = proto,
- }
- modem.transmit(REDNET_CHAN, id, packet)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement