Defensive PvP Results in Chat

Sentrion

Member
Getting tired of being attacked, and then having to click on the chat event message to see whether you won or lost? Well, no more of that (the latter part...I can't help with the part where you get attacked). This script, designed to be a chatbotScript, will parse your archives immediately and tell you the results of the fight.

Instructions:
Place in scripts directory, and type "set chatbotScript = chat_pvp_results.ash" in mafia's gCLI.

Please don't laugh at my regex; I know it's terrible. Feel free to laugh at my ASH coding, though. You can even point while you laugh!

Edit: I should also mention that it displays the mini scores as attacker-defender in both winning and losing cases. This is by design, even though it may seem weird (e.g., you may see it say, "You lose 4-3" when normal convention would be to say your score first).
 

Attachments

  • chat_pvp_results.ash
    1,012 bytes · Views: 87
Last edited:
Top