Greasemonkey script request

Off-topic posts about whatever, including off-the-wall posts about being on walls.

Moderator: Moderators

Post Reply
User avatar
Patojonas
Posts: 404
Joined: Mon Nov 16, 2009 11:48 am
Contact:

Greasemonkey script request

Post by Patojonas »

Requirements:

Must work on both http://twilightheroes.com and http://www.twilightheroes.com and the latest versions of GM and Firefox.

The scrip should create an extra button above the normal attack button in a fight, so that when pressing the Tab key the button gets selected instead of the normal attack button.

This button's purpose is to use a combat item that the script already selected.

Within the script there should be a MINIMUM of 6 ordered slots where the user enters the id (or item name, whatever is more efficient) of the combat item to be automatically selected if that item is present in the combat item list available for the current round. Make it so it still works if there's empty slots.

The script must look for the items in the specified order and create a button with the name of the item. If none are present then no button shows up.

Example:

The first 5 slots have the id's of the 5 ectoplasmic combat items and the 6th slot has that of TNT.
In the 1st round the script creates a button that, should the player press it, uses whatever ectoplasmic combat item it found first. (assuming there's at least 1 available)

Since ectoplasmic iotm can only be used once per fight, in the next turn there won't be any ectoplasmic items in the combat item list (if it got used, if it didn't the next round will be like the previous) and the script will then either create a button to use TNT if there's any in the combat item list available for that round or create no button if it failed to find TNT failing all options.

Image

Optional features:

Make it so the user can easily edit the slot number to accommodate more/less combat item id's.

Reward:

The reward for this will be 3 Million chips OR 2 Million chips + glowing lump + Tsar Tsavorite.
Also, you get to name it :mrgreen:

If you're taking the job and/or need further explanation of what I want please post below.
User avatar
Patojonas
Posts: 404
Joined: Mon Nov 16, 2009 11:48 am
Contact:

Re: Greasemonkey script request

Post by Patojonas »

Thanks!

The reward you chose has been sent to your account :wink:
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest