There I am rather helpless. If you get the message 'Tables, fields and records in SQL-Database exists already...', then also the varname 'avataroptions' would have to exist.
Did you already try the fixed Script
http://www.vbulletin.com/forum/showt...776#post166776 (with test output)? With this also the error should be fixed ('page not found'). Otherwise I have no more advice.