Changes to bot 12d565847a

I have been looking over the code for this bot to try to tweak it in the ways that i want, as well as looking over the forums to find alternative answers. I stumbled across this post by @Viir

----------------------------------------------------------Declaration

overviewEntriesToOrbitNames : List String
overviewEntriesToOrbitNames =
[ “broken” ]

---------------------------------------------------------Code

shouldOrbitOverviewEntry : EveOnline.ParseUserInterface.OverviewWindowEntry → Bool
shouldOrbitOverviewEntry =
.objectName

Maybe.map
(\objectName →
overviewEntriesToOrbitNames
|> List.any
(stringContainsIgnoringCase >> (|>) objectName)
)
Maybe.withDefault False

I was wondering if I could paste these two parts into the original code of 12d565847a. I figured the declaration part could go on line 226 in the list of other declarations. and the actual code part can go on line 690 to keep it next to the other orbit command.

1 Like