Auto PVP

Click the PVP button over and over

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Auto PVP
// @namespace   StabSoftware
// @description Click the PVP button over and over
// @include     http://www.kingdomofloathing.com/peevpee.php
// @include     http://www.kingdomofloathing.com/peevpee.php?place=fight
// @version     1
// ==/UserScript==

(function () {
  var b = document.evaluate("//input[@value='A Fighter is You!' and @type='submit' and contains(@class, 'button')]", document, null, 9, null).singleNodeValue;
  if(b)
  {
    if(document.documentURI.contains("place=fight"))
    {
      b.value="A Repeat-Fighter is You!";
    }
    else		
    {
      b.click();
    }
  }
})();