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

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..