| View previous topic :: View next topic |
| Author |
Message |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Nov 06, 2009 4:36 pm Post subject: |
|
|
Well, I just copied and pasted that code, and it works just fine. Check that there's no accidental newlines in the pasted code... _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
JKM Voice
Joined: 06 Dec 2008 Posts: 30
|
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Nov 07, 2009 3:52 pm Post subject: |
|
|
That error originates from the http-package... Most likely due to the second ? in the URI...
Try using this instead then:
| Code: | | set data_lines [grap_http_data 2 "http://mysite.com/spotInfo.php" "uri" $track] |
That should build the url http://mysite.com/spotify.php?uri=4SwVcoBjjawbnexIiUDLc5 _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
JKM Voice
Joined: 06 Dec 2008 Posts: 30
|
Posted: Sat Nov 07, 2009 4:22 pm Post subject: |
|
|
Yeah, I tried hundreds of ways, but it turned out that it was the puthelp line (I replaced it with putquick "PRIVMSG $chan :$line").
Thanks for your help!  |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Nov 07, 2009 4:37 pm Post subject: |
|
|
Ehhm?
puthelp vs putquick should'nt matter, most certainly not cause an error like that. Happy you got it sorted in the end though... _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
JKM Voice
Joined: 06 Dec 2008 Posts: 30
|
Posted: Sat Nov 07, 2009 4:41 pm Post subject: |
|
|
| Ah, I used '"http://mysite.com/spotInfo.php" "uri" $track' and putquick. I tried '"http://mysite.com/spotInfo.php" "uri" $track' a lot of times before you wrote it, but it didn't return any message or errors. |
|
| Back to top |
|
 |
|