egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Graphics Finder

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
AlphaTech
Voice


Joined: 23 Jul 2014
Posts: 12
Location: New York, USA

PostPosted: Thu Jul 31, 2014 11:42 pm    Post subject: Graphics Finder Reply with quote

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!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber