IMM_FORCEENLIST

Keywords: IMM_FORCEENLIST, WIZ_FORCEENLIST

Category: Admin

=== STAFF MANUAL === Usage: forceenlist <player> forceenlist <player> leader Description: Short-circuit the clan application flow and drop a pending applicant straight into the clan they have applied to. The target must already be on the clan's applicant list -- this command does not create the application, it only accepts one that a player has already submitted themselves. Use it when a clan's own leadership is unavailable or unwilling to process a legitimate applicant, or when staging test characters during clan work. Behavior: The applicant's ID is removed from the clan's applicant list and added as a full Member in one step. Both the applicant's pfile and the clan record are saved to disk immediately, so the enlistment survives a reboot. The applicant sees: You have been accepted into <clan>! And you see: You have force-enlisted <applicant> into <clan>! Leader Promotion: Passing the trailing keyword leader assigns the new member the front-of-list rank (rank order 0), making them the clan leader in the same step. The applicant then also sees: You are the leader of <clan>. The same promotion happens automatically without the keyword if the applicant's ID already matches the clan's recorded m_Leader field -- this covers the case where a leader left and re-applied. Restrictions: - Requires the Clans staff permission. - The target must resolve to a visible player. A bad name returns the standard "No one by that name here." response. - The target must have an active clan application. Missing applications return, in order: "They aren't applying to a clan." if no clan is flagged on the character. "They are already a member of a clan." if they are already enlisted somewhere. "They are not in the applicant list. This is an error." if the clan record disagrees with the character state -- this usually indicates a data desync that should be reported. - An empty argument returns "Force-Enlist who?". Notes: - There is no separate confirmation or wiznet log for this command beyond the act messages shown above. For an audit trail, consider pairing it with a wiznet note. - To flip an existing member between ranks, use the normal clan rank commands; forceenlist leader only applies at the moment of enlistment. Related Helpfiles: CLANSTAT, WIZ_CEDIT === END MANUAL ===