26 lines
521 B
Plaintext
26 lines
521 B
Plaintext
// Only the top three may kick members completely - only the top one
|
|
// may kick one of the other two top ones. A DM may kick anyone.
|
|
|
|
#include "mn_i_checkrank"
|
|
|
|
int StartingConditional()
|
|
{
|
|
int iResult;
|
|
object oPC = GetPCSpeaker();
|
|
object oTarget = GetLocalObject( oPC, "mn_target" );
|
|
|
|
iResult = IsTopRank( oPC );
|
|
|
|
if ( IsTopRank( oTarget ) && CheckRank( oPC ) != MN_AIDB_CEYAR )
|
|
{
|
|
iResult = FALSE;
|
|
}
|
|
|
|
if ( GetIsDM( oPC ) )
|
|
{
|
|
iResult = TRUE;
|
|
}
|
|
|
|
return iResult;
|
|
}
|