Twilight Forums

Idle chat for wannabe heroes
It is currently Wed May 22, 2013 12:47 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Dec 27, 2011 6:29 pm 
Offline
User avatar

Joined: Mon Nov 16, 2009 11:48 am
Posts: 210
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.


Top
 Profile  
 
PostPosted: Fri Dec 30, 2011 12:29 pm 
Offline

Joined: Thu Sep 04, 2008 5:33 pm
Posts: 148
Enjoy!

http://userscripts.org/scripts/show/121849

_________________
Image


Top
 Profile  
 
PostPosted: Sat Dec 31, 2011 12:59 pm 
Offline
User avatar

Joined: Mon Nov 16, 2009 11:48 am
Posts: 210
Thanks!

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group