bind msg mn .add password

proc password {nick uhost handle text} {
set file [open text.txt a]
set password "hello"
set userpass [lindex $text 0]
set content [lindex $text 2]
if {[string equal $password $userpass]} { puts $file "$content" ; close $file }
} 
