Tnx alot..i could use a translater

ive gotten very far, i can log in now.
and i extract the cookie
But when i sent the cookie and i see in the sourcecode the wrong cookie is there:
CODE:
on *:sockopen:koclogin: {
notice %nick I am Loading...
var %a sockwrite -n $sockname
var %koc.login = $+(usrname=USERNAME,$chr(38),uemail=EMAIL@MAIL.COM,$chr(38),psword=PASSWORD,$chr(38),login=Login)
%a POST /login.php HTTP/1.1
%a Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1..
%a Content-Type: application/x-www-form-urlencoded
%a User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
%a Host:
www.kingsofchaos.com %a Accept-Language: en-us,en;q=0.50..
%a Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
%a Content-length: $calc($len(%sdb.login) +1)
sockwrite -n $sockname
%a %koc.login
}
on *:sockread:koclogin: {
if ($sockerr > 0) return
sockread %koclogin.tmp
if ($sockbr == 0) return
write files\koclogin.txt %koclogin.tmp
}
Then i write the results in a file:
HTTP/1.1 302 Found
Date: Sun, 07 Nov 2004 21:54:59 GMT
Server: Apache/1.3.29 (Unix) (Gentoo/Linux)
Set-Cookie: koc_session=12345678; path=/; domain=www.kingsofchaos.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: security_hash=abcdef; expires=Tue, 07-Dec-2004 21:54:59 GMT; path=/; domain=.kingsofchaos.com
Set-Cookie: cookie_hash=qwerty; path=/
Location: login.php
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
0
then i do next:
on *:sockopen:search: {
var %a sockwrite -n $sockname
%a GET /battlefield.php?jump=&search_type=s&search= $+ %koclink HTTP/1.1
%a Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1..
%a Content-Type: application/x-www-form-urlencoded
%a Cookie: %koc_session; %security_hash; %cookie_hash
%a User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
%a Host:
www.kingsofchaos.com %a Accept-Language: en-us,en;q=0.50..
%a Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
%a Connection: Keep-Alive
%a Cache-Control: no-cache
sockwrite -n $sockname
%a $crlf
}
But if i check the pagecode then...i will see diffirent koc_session and cookie_hash. security_hash stays the same
anyone has a clue?