on *:TEXT:!connect:#magnusgameplay:{
sockopen Test thefaaborg.dk 80
}

on *:SOCKOPEN:Test: {
sockwrite -nt $sockname GET /protocal.html
sockwrite -nt $sockname Host: thefaaborg.dk
sockwrite $sockname $crlf
}

on *:SOCKREAD:Test: {
if (!$sockerr) {
var %sockreader
sockread %sockreader
if (For mig har chatten* iswm %sockreader) {
tokenize 32 %sockreader
Test $4
; Im trying to make it excecute a command here based on $4
sockclose Test
}
}
}


Life is potato.