Skip to content

Instantly share code, notes, and snippets.

View AnnikaCodes's full-sized avatar

AnnikaCodes

  • Pacific Time
  • 09:05 (UTC -07:00)
View GitHub Profile

o/

Yay for finally starting this out. As the name might (or might not) suggest, this Gist is intended at offering a quick rundown on the more important commands that're used by Bots.

Basic Commands:

The ones in /commands are already pretty-well covered in /help, so I'll skip these.

Data Commands:

/cmd userdetails (user): Returns a |queryresponse|userdetails|JSON response, which contains the public data about a certain user. /cmd roominfo (room): Returns a |queryresponse|roominfo|JSON response, which contains the public data about a certain room. For modjoined rooms, returns a {"id":roomid,"error":"not found or access denied"} in the JSON. The room may also be in the form of a tier (gen82v2doubles, for example), in which case the return value will be the list of all ongoing public games in that tier.

@kmcallister
kmcallister / build.sh
Created August 24, 2014 23:41
68k Mac boot floppy example
#!/bin/bash -xe
m68k-unknown-elf-gcc -o demo demo.s -nostdlib
m68k-unknown-elf-objcopy -O binary demo floppy.img