Hi im fairly new here, question is how can i have texts from chat as triggers? or if not text someother easier way to manually trigger retreat of multiple bots
Currently i semi-afk mine using the bots and was wondering if for example whenever i message the fleet chat/comms(only for the bots) “retreat” all the bots with their fleet chats open would retreat immediately to a bookmark
ive read a lot of related topics and it seems that i can use identifiers like “RegexMatchSuccessIgnoreCase(“retreat”)” or so
void ChatRetreat(WindowChatChannel windowChat) //is this even right?
{
what to place here???
}
im completely new to the framework(not with coding in general) is there a wiki/document where i can find lists of usable arguments, definitions, etc for sanderling?
if i can complete this then i will move on to the next part which is a hauler for the fleet, currently i can have the miners defend against npcs, auto jettison their loads and all with 400 lines of codes(trimmed down the mining default script). id love to release the fleet package once im done.
Yes, I wrote this example of how to get the texts from chat:
foreach(var chatChannelWindow in (Sanderling.MemoryMeasurement?.Value?.WindowChatChannel).EmptyIfNull())
{
foreach(var chatMessage in (chatChannelWindow?.MessageView?.Entry).EmptyIfNull())
{
Host.Log("Chat message text labels: " + String.Join(",", (chatMessage?.LabelText?.Select(label => label?.Text)).EmptyIfNull()));
}
}
Yes, warping to a bookmark can be done for example by using the solar system menu from the system info panel.
In the solar system menu, you will find entries for your bookmarks. In the submenus you then find the menu entries to warp to or dock to that bookmark.
You can find guides for specific goals using the guide tag on the forum at Topics tagged guide
Two examples of what you can find there: