Vana icon indicating copy to clipboard operation
Vana copied to clipboard

Add advanced !packet command

Open diamondo25 opened this issue 8 years ago • 0 comments

This command supports the following 'placeholders':

  • lNNN for writing int64
  • iNNN for writing uint32
  • sNNN for writing uint16
  • bNNN for writing uint8
  • "text" for writing a string

Also i fixed/expanded the atoli() function. It now acts more like atoi, where it has to remove whitespaces (using isspace) first, then check for the plus/minus sign, and after that finally parse the numbers. After that, make the value negative, of course.

diamondo25 avatar Oct 21 '16 12:10 diamondo25