MQ2PCCheck - MMOBugs Wiki

Plugin Info
Name MQ2PCCheck
Author htw
Link Wiki Link
Commands /pccheck
Source Available No
Uses INI File Yes

Description

Alerts when PC in zone.

Features

  • This plugin has the ability to alert you in different ways such as sound and visual messages if a PC is detected.

Commands

  • /pccheck status | on | off | quiet [on|off] | sound [on|off] | beep [on|off] | popup [on|off] | chat [on|off] | rem | group [on|off] | guild [on|off] | load
  • status Show current settings/status.
  • off Turn pc checking off.
  • on Turn pc checking on.
  • quiet [off|on] Toggle (or turn on/off) quiet mode.
  • group [on/off] Toggle (or turn on/off) excluding group members from zone in/out and reminder alerts.
  • guild [on/off] Toggle (or turn on/off) excluding guild members from zone in/out and reminder alerts.
  • sound [on/off] Toggle (or turn on/off) PC alert sounds.
  • beep [on/off] Toggle (or turn on/off) PC alert beeps.
  • popup [on/off] Toggle (or turn on/off) PC alert popup messages.
  • chat [on/off] Toggle (or turn on/off) PC alert chat window messages.
  • load Load saved settings from MQ2PCCheck.ini.
  • rem # Change alert reminder interval to # seconds. Minimum is 10 seconds. Set to 0 to disable reminders.
  • help Shows help information.

Example Usage

This command will turn on PC checking.

  • /pccheck on


This command will turn on quiet mode (turn off alert sounds - resets upon zoning).

  • /pccheck quiet on


This command will turn on the use of sound files for alerts.

  • /pccheck sound on


This command will turn on the use of beeps for alerts.

  • /pccheck beep on


This command will turn on the use of popups for alerts.

  • /pccheck popup on

This command will set the alert reminder to 30 seconds.

  • /pccheck rem 30

Macro Data

This plugin adds a new TLO: PCCheck

ExampleType

  • NOTE: TLO member results take into account your group and guild settings, as well as excluding yourself.
  • ${PCCheck} : string - Return TRUE if plugin is loaded.
  • ${PCCheck.Alert} : bool - Return TRUE if PC is in zone.
  • ${PCCheck.Alert[SpawnSearch]} : bool - Return TRUE if PC is in zone, based on SpawnSearch. Example: ${PCCheck.Alert[radius 200]}.
  • ${PCCheck.Status} : bool - Return TRUE if PC checking is active.
  • ${PCCheck.Count} : int - Return number of PCs in zone.
  • ${PCCheck.Count[SpawnSearch]} : int - Return number of PCs in zone, based on SpawnSearch. Example: ${PCCheck.Count[radius 200]}.

Sample Configuration

MQ2PCCheck.ini

[Settings]
RemInt=30
PCCheck=on
PCSound=on
PCBeep=off
PCPopup=on
PCChat=on
PCNoGroup=on
PCNoGuild=off

Availability

This plugin is included with the MMOBugs Compile.