Originally posted by [b]KeyWorld[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4082
Hi,
I write this topic because eathena (no offense, i'm talking about the emulator) don't know how the boolean logic work.
Here in all langages:
CODE
if ( true AND false ); // Execute TRUE and execute FALSE
if ( false AND true ); // Execute just FALSE !
if ( false OR true ); // Execute FALSE AND TRUE
if ( true OR false ); // Execute just TRUE !
Here in ea:
CODE
if ( true AND false ); // Execute TRUE and execute FALSE
if ( false AND true ); // Execute FALSE and execute TRUE
if ( false OR true ); // Execute FALSE and execute TRUE
if ( true OR false ); //Execute TRUE and execute FALSE