From 538949fdb8b92306c3d3d9e1ccd330ddde66a595 Mon Sep 17 00:00:00 2001 From: Zafrusteria Date: Tue, 12 May 2020 12:03:14 -0400 Subject: [PATCH 1/3] Updated reamed with help and install instructions --- README.md | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 78a860e..beda454 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,38 @@ -# PK_Alert -Notify to channel PK alert information. +# PKAdmin -pkadmin help : This menu +## Usage: -pkadmin alert : Turns on/off channel alerts + pkadmin help : This menu -pkadmin sound : Turns on/off sound alerts + pkadmin alert : Turns on/off channel alerts -pkadmin volume <0-100> : Sets the play volume for sound + pkadmin sound : Turns on/off sound alerts -pkadmin enable : Enables the script + pkadmin volume <0-100> : Sets the play volume for sound -pkadmin disable : Disables the script + pkadmin levelrange <1-100> : Set the range of levels displayed in the PK Alert + + pkadmin enable : Enables the script + + pkadmin disable : Disables the script + + pkgo : "Runto" help your clan mate out + + +## Installation: +Copy the sound file redalert.wav into your MUSHclient\sounds directory. + +Copy the xml file into your MUSHclient\worlds\plugins diretory or a subdirectory. +Then just install the plugin into MUSHClient and you are ready to go. + +Usage +At the end of the PK alert message is the level of the player being attacked +and a level range. The level range defaults to plus and minus 10. It can be +changed to any value with tht epkadmin levelrange command. + +When you see a PK Alert from a clan mate, the second line that is displayed +has a clickable link for the room number. If you have explored the room and all +necessary cexits are setup you will run directly to the room. + +There is also a handy alias pkgo that will again run you to the room of your +clan mate. It is reset each time the PK alert is displayed on your screen. -- 2.36.5 From 15472dc9da0113764801dce84e95d11600f44786 Mon Sep 17 00:00:00 2001 From: Zafrusteria Date: Tue, 12 May 2020 12:08:47 -0400 Subject: [PATCH 2/3] Updated to include the attacked players level and a level range to help. Updated to include the attacked players level and a level range to help. New trigger for anyone willingt o help now has a clickable link to run you to the room where the fight is no going. Added an alias pkgo that also runs you to the room. Added more details to the readme.md file. This includes installation and usage. --- pk_alert_with_sound.xml | 1131 ++++++++++++++++++++------------------- 1 file changed, 590 insertions(+), 541 deletions(-) diff --git a/pk_alert_with_sound.xml b/pk_alert_with_sound.xml index 8b4755f..b128274 100644 --- a/pk_alert_with_sound.xml +++ b/pk_alert_with_sound.xml @@ -1,542 +1,591 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- 2.36.5 From c380ab8f34a25c94d393169b5a6e030b945019f7 Mon Sep 17 00:00:00 2001 From: Zafrusteria Date: Tue, 21 Jul 2020 11:36:42 -0400 Subject: [PATCH 3/3] fix problem with strangle regexp, it was picking up objects on the floor Changed the regexp for strangle it will now capture the persons names and ignore items onn the floor that have leading spaces --- pk_alert_with_sound.xml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pk_alert_with_sound.xml b/pk_alert_with_sound.xml index b128274..22b9913 100644 --- a/pk_alert_with_sound.xml +++ b/pk_alert_with_sound.xml @@ -14,7 +14,7 @@ purpose="Notify to channel PK alert information." save_state="y" date_written="2018-10-29 13:37:21" - version="1.5" + version="1.6" > - + - - + +