RCON Large Command Buffer

A buffer to assemble and execute commands that are too large to send via RCON directly.
1 year, 11 months ago
0.14
143
Owner: justarandomgeek
Source: justarandomgeek/cmdbuffer
Homepage: N/A
License: MIT
Created: 2 years ago
Latest Version: 0.0.2 (2 years ago)
Factorio version: 0.14
Downloaded: 143 times

Assemble a command in a buffer:
remote.call('cmdbuffer','add','buffername','game.print(')
remote.call('cmdbuffer','add','buffername','"hello world"')
remote.call('cmdbuffer','add','buffername',')')

Execute and clear a buffer: (returns result of buffered command)
remote.call('cmdbuffer','exec','buffername')

Clear a buffer without executing it:
remote.call('cmdbuffer','clear','buffername')

Get contents of a buffer:
remote.call('cmdbuffer','getbuffer','buffername')