How far along are you making this script Zahool? You must be doing well so far I haven't seen you ask any questions about how todo anything yet.
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
proc update {nick host handle chan text} {
#setting server
set server "your.server.com"
#setting port
set port "8000"
#setting password ; generated by //echo $encode(admin:youradminpasshere,m) since i dont know how to do it
set login "yourpassword"
#sending the data
set sock [socket $server $port]
puts $sock "GET /admin.cgi?mode=updinfo&song=title*of*your*song HTTP/1.1"
puts $sock "User-Agent:Mozilla"
puts $sock "Host: $server"
puts $sock "Authorization: Basic $login"
puts $sock ""
flush $sock
#displaying msg
putserv "PRIVMSG $chan : updated your song on the server"
}
putlog "update song loaded"