Skip to content

MQ2Posse

MQ2Posse

Checks for PCs in a defined radius identifying them as friends or strangers

Authors: eqmule, CTaylor22, sym, plure • Config: MQ2Posse.ini

Resource Download Support Repo

MQ2Posse allows you to create a friends list so any PC coming into range will be identified as a friend or stranger. You can also set up alerts and reactions to these events.

  • If a stranger is identified you can run a custom command, such as /endmacro and /mac GTFO.mac
  • It also has a TLO that allows you to use MQ2Posse in your own scripts.

Commands

/posse [option] [setting]
Set alerts, radius, and commands around player detection.

Settings

An example MQ2Posse.ini file,
The global name list must be manually entered into the MQ2Posse.ini file, like so:

[GlobalNames]
galndalf=1
grimli=1
bildo=1

[Bob_Settings]
Enabled=1
Radius=300
Soundfile=
Audio=1
IgnoreGuild=1
Notify=1

[Bob_Names]
bernard=1
alexander=1
corina=1

[Bob_Commands]
0=/endmacro
1=/say gotta go, bye bye!

[Tim_Settings]
Enabled=1
Radius=300
Soundfile=
Audio=1
IgnoreGuild=1
Notify=1

[Tim_Names]

[Tim_Commands]
0=/endmac
1=/mac GTFO

Top-Level Objects

Posse

Holds a form that shows if the plugin is enabled, as well as a far more interesting data type of the same name.

DataTypes

Posse

Returns status about players within a radius, if they're friends or strangers, and how many of them are around.

Members

bool Status

Shows if plugin is looking for players or not

int Count

The numbers of players within the radius

int Radius

Size of check radius

int ZRadius

Size of check radius on the z axis

int Friends

Number of friends within radius

string FriendNames

Returns all friend names

int Strangers

Number of strangers within radius

string StrangerNames

Returns all stranger names