MQ2Posse
MQ2Posse | |
---|---|
Checks for PCs in a defined radius identifying them as friends or strangers |
Authors | eqmule, CTaylor22, sym, plure |
---|---|
Software type | Plugin |
Config file | MQ2Posse.ini
|
Maintained | Yes and supported |
Links |
🏠Resource (review) |
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
Syntax | Description |
---|---|
/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
See also
Top-Level Object(s)
TLOs added by MQ2Posse:
TLO | Data Type(s) | Description |
---|---|---|
Posse | Posse | Holds a form that shows if the plugin is enabled, as well as a far more interesting data type of the same name. |
Forms. Typical usage, /echo ${TLO}
Type | TLO | Description |
---|---|---|
Posse | Posse | Returns TRUE if plugin is checking for new players, FALSE if it's not. Same as ${Posse.Status} |
Members. More may be available if inherited. Typical usage, /echo ${TLO.Member}
TLO | Data Type | Return Type | Member | Description |
---|---|---|---|---|
Posse | Posse | bool | Status | Shows if plugin is looking for players or not |
int | Count | The numbers of players within the radius | ||
Friends | Number of friends within radius | |||
Radius | Size of check radius | |||
Strangers | Number of strangers within radius | |||
ZRadius | Size of check radius on the z axis | |||
string | FriendNames | Returns all friend names | ||
StrangerNames | Returns all stranger names |