When specifying a directory with spaces, you need to surround the path in quotes - " "

on *:TEXT:!vote *:?:{
write "C:\Program Files\mIRC\Trivia\Vote.txt" Nick: $nick Date: $date Time: $time Voted: $2-
msg $nick Thank you $nick
}


(Note: you don't need to specify the / in commands in a script)

Regards,


Mentality/Chris