Issue information

Issue ID
#4080
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Mar 1, 2010 22:34
Last Post
Hercules Elf Bot
Mar 1, 2010 22:34
Confirmation
N/A

Hercules Elf Bot - Mar 1, 2010 22:34

Originally posted by [b]KeyWorld[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4080

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 ![/code]

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[/code]

This post has been edited by Brian on Mar 28, 2012 2:32