Changes between Version 2 and Version 3 of pk


Ignore:
Timestamp:
Jun 7, 2011 4:30:57 PM (13 years ago)
Author:
jpawlick
Comment:

--

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.)
     1This 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.)
    22
    33'''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.
    55
    66'''Responds:'''
    77 * ''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.)
    99
    1010'''Reports:'''
     
    1616 * User sends: "n mf 222 0 0 1"
    1717 * Bot begins moving.
    18  * User sends: "n pk 512"
     18 * User sends: "n pk 512 0"
    1919 * Bot replies "rs pk 512 1 mf 222"
    2020 * Bot replies "cp pk 512 done"