Jump to content
  • 0

[HELP].logout rework/help!!!!


Question

Posted

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!!

 

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...