If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Items

My standard rollover bonus uses that code. The script looks at ALL items, and spits out ALL items you can equip, or pull and equip for bonus turns.

Is there a way I can break it down into slots? IE: spit out hats only first, then weapons / offhand next, etc.

Scripts I have written: Unlock Dread A Script to save you a bunch of clicks.Standard Rollover Bonus A Script that shows best items to pull/equip for bonus turns.Standard PVP Bonus A Script that shows the best items to pull/equip for bonus PVP Fights.Rollover Management A Script that does all the daily deeds you might have forgotten, or might have missed.Chatbot A Chatbot script. Simple start for those who want/need one for their clan.Zap Wand A Dungeon of Doom ZAP WAND getting script.

The lazy way would be to check item_type() for each of the ~100 item types that are of interest. That would take more time than optimal since you would be traversing the entire item list once for each type you were interested in.

A slightly more efficient way could be to record the item name and type in a map (rather than printing) during one pass, sort the map and iterate over the map printing things in the order you want.

Potentially complicated if one item can have more than one type and by the fact that item types can have spaces in them.

I just use maximize("adv, 0.1 pvp fights +switch trick-or-treating tot", false); but then I am not considering pulls. I have it in my logout script, so I wouldn't want it using pulls, just in case I was planning to log in again later to carry on playing.

I just use maximize("adv, 0.1 pvp fights +switch trick-or-treating tot", false); but then I am not considering pulls. I have it in my logout script, so I wouldn't want it using pulls, just in case I was planning to log in again later to carry on playing.

Originally Posted by Darzil

I have that in mine too. I only use the script in question when I'm in ronin, and have extra pulls. I haven't personally used it in some time, and happened to use it yesterday. I wasn't happy with the results, as it was rather confusing.

Code:

Checking Gear
You have 2 dead guy's watch (Good for 1 turns) in storage, with 20 pulls remaining
You have 1 stainless steel solitaire (Good for 2 turns) in storage, with 20 pulls remaining
You can equip your plexiglass pocketwatch for 3 extra turns
You have 1 gold wedding ring (Good for 1 turns) in storage, with 20 pulls remaining
You can equip your aerogel ascot for 3 extra turns
You can equip your tiny plastic golden gundam for 1 extra turns
You can equip your novelty monorail ticket for 3 extra turns
You have 4 genie's turbane (Good for 2 turns) in storage, with 20 pulls remaining
You can equip your psychic's circlet for 3 extra turns
You have 1 scepter of the Skeleton Lord (Good for 3 turns) in storage, with 20 pulls remaining
You have 7 shoe ad T-shirt (Good for 3 turns) in storage, with 20 pulls remaining
You have 1 chalk chlamys (Good for 2 turns) in storage, with 20 pulls remaining

Here's the output I get. Mind you, I just logged in, and haven't run any turns, that's why there's 20 pulls remaining. I will work on this today. Thanks everyone for the feedback. I'll post my results later.

Scripts I have written: Unlock Dread A Script to save you a bunch of clicks.Standard Rollover Bonus A Script that shows best items to pull/equip for bonus turns.Standard PVP Bonus A Script that shows the best items to pull/equip for bonus PVP Fights.Rollover Management A Script that does all the daily deeds you might have forgotten, or might have missed.Chatbot A Chatbot script. Simple start for those who want/need one for their clan.Zap Wand A Dungeon of Doom ZAP WAND getting script.

You have 4 genie's turbane (Good for 2 turns) in storage, with 2 pulls remaining
You can equip your psychic's circlet for 3 extra turns

Now I will go about making the script look a little easier to read.

Last edited by Pazleysox; 03-13-2019 at 02:50 PM.
Reason: figured it out

Scripts I have written: Unlock Dread A Script to save you a bunch of clicks.Standard Rollover Bonus A Script that shows best items to pull/equip for bonus turns.Standard PVP Bonus A Script that shows the best items to pull/equip for bonus PVP Fights.Rollover Management A Script that does all the daily deeds you might have forgotten, or might have missed.Chatbot A Chatbot script. Simple start for those who want/need one for their clan.Zap Wand A Dungeon of Doom ZAP WAND getting script.