Thread:Prince(ss) Platinum/@comment-24568832-20140117200508

Hi, I'm an administrator on a wiki and I recently added some scripts to our chat. We have an issue though...The admin who logs the chat on this wiki built an external C# program to log it instead of using Wikia. Our issue is that our Javascript keeps crashing his program resulting in the chat not being logged. So I came up with a soloution. I have a little JS experience but not enough apperently, I need a way to check for a user in the chat and if that user logs in the chat JS doesn't load for him. I was thinking of something very basic to use as an example,

if user$==! "PTC Wikia Bot" {

Load all scripts

} else {

Don't load scripts

}

Can you give me a little wisdom here?

If you have an answer just post it to my message wall on http://www.petitcomputer.wikia.com

Thanks! 