View Single Post
  #12  
Old 08-23-2008, 03:34 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by xXziroXx View Post
player.level is an object, player.level.name refers to the name of that object.
Indeed, I think the reason you can still compare player.level to a string is because either Stefan is compensating some how or its comparing with the object's name when you have a string in some weird way that Stefan doesn't bother to document for us.
Quote:
Originally Posted by zokemon View Post
Wow.
Elaborate
Quote:
Originally Posted by Tigairius View Post
It may be over complicated for you, but it looks fine to me.
what makes you think it is over complicated for me?

I apologize for thinking that other people may not be able to understand such things as easily or as quickly as myself.

I also apologize for suggesting to use code that is clearer at first glance and doesn't require you to scroll so far to see the whole statement.
__________________
Reply With Quote