MQ2PCCheck - MMOBugs Wiki

Revision as of 17:23, 29 August 2015 by Htw (talk | contribs) (→‎ExampleType: added about TLO change for group/guild.)
Plugin Info
Name MQ2PCCheck
Author htw
Link Wiki Link
Commands /pcstatus /pccheck /pcquiet /pcnogroup /pcsound /pcbeep /pcpopup /pcchat /pcsave /pcrem /pchelp
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

  • /pcstatus Show current settings/status.
  • /pccheck [on/off] Toggle pc checking on/off, or force on/off with parameter..
  • /pcquiet Turn off pc alert & reminder sounds (resets at next zone).
  • /pcnogroup [on/off] Toggle excluding group members from zone in/out and reminder alerts, or force on/off with parameter.
  • /pcnoguild [on/off] Toggle excluding guild members from zone in/out and reminder alerts, or force on/off with parameter.
  • /pcsound [on/off] Toggle PC alert sounds on/off, or force on/off with parameter.
  • /pcbeep [on/off] Toggle PC alert beeps on/off, or force on/off with parameter.
  • /pcpopup [on/off] Toggle PC alert popup messages on/off, or force on/off with parameter.
  • /pcchat [on/off] Toggle PC alert chat window messages on/off, or force on/off with parameter.
  • /pcsave Save current settings to MQ2PCCheck.ini.
  • /pcrem Change alert reminder interval, in seconds. Minimum is 10 seconds. Set to 0 to disable reminders.
  • /pchelp Shows help information.

Example Usage

This command will turn on PC checking.

  • /pccheck on


This command will turn off alert sounds (Resets upon zoning).

  • /pcquiet


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

  • /pcsound on


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

  • /pcbeep on


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

  • /pcpopup on

This command will save the current configuration to MQ2PCCheck.ini file.

  • /pcsave

Macro Data

This plugin adds a new TLO: PCCheck

ExampleType

  • ${PCCheck} : bool - Return TRUE if PC is in zone.
  • ${PCCheck.Status} : bool - Return TRUE if PC checking is active.
  • ${PCCheck.Count} : int - Return number of PCs in zone.
  • ${PCCheck.NG} : bool - Return TRUE if any PC in zone that is not in your group or guild (based on whether those options are on or not. If neither is on, this will be the same as ${PCCheck}).
  • ${PCCheck.NGCount} : int - Return number of PCs in zone who are NOT in your group or guild (based on whether those options are on or not. If neither is on, this will be the same as ${PCCheck.Count})

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.