Code: Select all
proc where {nick host hand chan text} {
package require http
set token [http::config -useragent "Mozilla 4.0"]
set temp [http::geturl $url]
set data [http::data $temp]
.............
As you can see, there are 5 users with data and I want to split the entire string so that the output is like this:
{Pinkeltje} moc_fild17.gat 103 313
{Shinji} prt_fild08.gat 127 308
{Dwedarina} moc_fild04.gat 205 331
{Nevermind} pay_fild01.gat 66 257
{Valentino} prontera.gat 155 214
So I want to display all 5 lines to the user with the following:
Code: Select all
foreach line $data {
putquick "PRIVMSG $chan :$data" }
thx.
Chrizz