Quote:
Originally Posted by xXziroXx
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
Wow.
|
Elaborate
Quote:
Originally Posted by Tigairius
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.