This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Graphics Finder

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
A
AlphaTech
Voice
Posts: 12
Joined: Wed Jul 23, 2014 1:07 am
Location: New York, USA

Graphics Finder

Post by AlphaTech »

So, I need a script that can search a document (I will supply later...) and return with an ID.

So, anything listed under the "contents": [ will be supplied by the user in the command and the bot will return with the ID ("id": "GFX00.bin",) each different section on this list has its own ID.

Example:
<AlphaTech> !ab findgfx Feather
<MyBot> Feather: GFX00.bin

Example 2:
<AlphaTech> !ab findgfx Torpedo Ted
<MyBot> Torpedo Ted: GFX06.bin

Example 3:
<AlphaTech> !ab findgfx blah
<MyBot> blah: Graphic Not Found.

I need to command to be !ab findgfx (content)

Document:
https://dl.dropbox.com/s/5wcwc3694yuj7bl/gfxlist.json

(If this helps, it is a json file...)

Thank You!
Post Reply