Changes between Version 2 and Version 3 of pk
- Timestamp:
- Jun 7, 2011 4:30:57 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pk
v2 v3 1 This command tells you the opcode and id number of the command that will be executed after it finishes. (In other words, if you do a "n pk ..." it will tell you what command was currently executing when you sent that.)1 This command tells you the opcode and id number of the command that will be executed after it finishes. (In other words, if you do a "n pk ... 0" it will tell you what command was currently executing when you sent that.) 2 2 3 3 '''Parameters:''' 4 * This command does not accept any parameters.4 * 1: integer depth. A value of zero indicates the command that will execute as soon as this peek finishes, a value of -1 is this command. 2 and beyond are further down the queue. 5 5 6 6 '''Responds:''' 7 7 * ''X OC ID'' where X, is the number of commands in the queue (not counting this command), OC is the opcode of the next command, and ID is the id number of the next command. 8 * '' 0'' if X as above is 0 - in this case there is no OC or ID to print.8 * ''X 00 0'' with X as above if X is less than the depth. (In this case there is no OC or ID to print.) 9 9 10 10 '''Reports:''' … … 16 16 * User sends: "n mf 222 0 0 1" 17 17 * Bot begins moving. 18 * User sends: "n pk 512 "18 * User sends: "n pk 512 0" 19 19 * Bot replies "rs pk 512 1 mf 222" 20 20 * Bot replies "cp pk 512 done"