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.

Search found 4 matches

by elbandido
Wed May 02, 2012 2:00 pm
Forum: Script Requests
Topic: mass hl/slap script
Replies: 1
Views: 3731

mass hl/slap script

As
by elbandido
Tue May 01, 2012 4:04 pm
Forum: Scripting Help
Topic: json2dict help
Replies: 7
Views: 7844

Solved:

Code: Select all

[lindex [lindex $json_data 0] 0]
by elbandido
Tue May 01, 2012 3:45 pm
Forum: Scripting Help
Topic: json2dict help
Replies: 7
Views: 7844

yes, like this: package require http package require json bind pub * .search search proc search {nick uhost hand chan argv} { variable url0 "xxx" set url "${url0}${argv}/1.json?key=xxxxx" set json_data [::json::json2dict [::http::data [::http::geturl $url]]] } I want to extract f...
by elbandido
Tue May 01, 2012 2:11 am
Forum: Scripting Help
Topic: json2dict help
Replies: 7
Views: 7844

dict with list

I'm trying to extract id or name from this json source: [{"id":2020512,"name":"Romper"},{"id":5882783,"name":"Romper amante"},{"id":5630419,"name":"Romper the last"},{"id":5630428,"name":&qu...