PonyR1der Posted January 5, 2011 Posted January 5, 2011 ok i rework .logout command for interlude . one part of code is: if (command.equalsIgnoreCase("logout")); if (!activeChar.isInCombat() || !activeChar.isInOlympiadMode()) { activeChar.logout(); return true; } return false; } but when i put return false and when return true? i cant understant it..plz tell me and explain me. now the code is wrong because player can logout and when he is in combat. plz men i really plz u exxplain me and write me how the code should be!!
Question
PonyR1der
ok i rework .logout command for interlude .
one part of code is:
but when i put return false and when return true? i cant understant it..plz tell me and explain me.
now the code is wrong because player can logout and when he is in combat.
plz men i really plz u exxplain me and write me how the code should be!!
1 answer to this question
Recommended Posts