Difference between revisions of "Chat Settings"

From
Jump to: navigation, search
(→‎Enounter Pings)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
This article covers everything that is set with the command <code>/chat_settings</code>
 
This article covers everything that is set with the command <code>/chat_settings</code>
−
=Rmlndss äfrwmäc list=
+
=The raw /chat_settings message=
 
  <b>Resources settings available vn GeckoBot </b>
 
  <b>Resources settings available vn GeckoBot </b>
 
   
 
   
Line 58: Line 58:
  
  
−
=Enounter Pings=
+
=Encounter Pings=
 
Encounter ping messages are very similar to the ambush ping messages. You can turn on and off parsing encounter messages with  
 
Encounter ping messages are very similar to the ambush ping messages. You can turn on and off parsing encounter messages with  
  
Line 76: Line 76:
  
 
Encountermessage with additional ping on the bottom. Also: if the user activated API access and the API reacts quickly enough, there will be a message above the actual encounter showing the HP of the user who found it. This can be used to check out the risk involved in taking the encounter.
 
Encountermessage with additional ping on the bottom. Also: if the user activated API access and the API reacts quickly enough, there will be a message above the actual encounter showing the HP of the user who found it. This can be used to check out the risk involved in taking the encounter.
−
 
  
 
=Roster Ping Slacking Members=
 
=Roster Ping Slacking Members=
Line 138: Line 137:
 
  <code>/message_answer_missing_stock_off</code>
 
  <code>/message_answer_missing_stock_off</code>
  
−
=Drags and Arrows Message Pings=
+
=Drugs and Arrows Message Pings=
 
The two triggers "arrows" and "drugs" both allow to set a short text to be shown in the message of the trigger. This can be used to automatically ping the guild leader and the bartenders when someone is using the "drugs" trigger and exactly the same scheme: "arrows" can ping the guild leader and the squires.
 
The two triggers "arrows" and "drugs" both allow to set a short text to be shown in the message of the trigger. This can be used to automatically ping the guild leader and the bartenders when someone is using the "drugs" trigger and exactly the same scheme: "arrows" can ping the guild leader and the squires.
  
  
−
  <code>modifydrugspings Ping Message</code>
+
  <code>/modifydrugspings Ping Message</code>
 
  <code>/modifyarrowspings Ping Message</code>
 
  <code>/modifyarrowspings Ping Message</code>
  

Latest revision as of 03:54, 23 May 2021

This article covers everything that is set with the command /chat_settings

The raw /chat_settings message

Resources settings available vn GeckoBot 

Register a chat
/addguildchat
  
Ambush messages
 /message_ambush_on
/message_ambush_off
  /modifyambushpings Your @ Pings 

Encounter messages
/message_encounter_on
/message_encounter_off
/modifyencounterpings Your @ Pings 

Pings for roster sent
/message_battlepings_on
/message_battlepings_off

Answering missing stock messages
/message_answer_missing_stock_on
/message_answer_missing_stock_off

"drugs" and "arrows" pings
/modifydrugspings Ping Message
/modifyarrowspings Ping Message

Subscribe to battle participation/battle TV appearance notifications per guild
/set_battle_notifs {TAG}; e.g.: "/set_battle_notifs FTW"
Remove subscription: 
/unset_battle_notifs {TAG}, e.g. : "/unset_battle_notifs FTW"

First steps - Registering a chat

For almost all settings for a chat, you need to register the chat in GeckoBot first. GeckoBot does not automatically have a list of all chats it is in -- it needs to be told explicitly that a new chat is registered and an entry in the database in the table of chats settings is created. This opens up opens up lots of possibilities, mainly saving saving unique trigger texts for given commands (arrows, drugs), -- all bound to the fact that a database entry must be available first, with a specific chat_id which is the identifier for all settings that will be saved later for this chat. Example sue: /addguildchat

Ambush Pings

Parsing ambush messages form the guild quest "Forbidden champions hunt" can be turned on and off:

/message_ambush_on
/message_ambush_off

Turning on parsing the ambush messages gives messages as follows:

Ambush parsed message.png

Notes: The first message shown here is the part that can be unique per guild. In [FTW] we only set two commands that can be clicked to either send a bunch of messages to ping all low level players or send a bunch of messages to ping high levels players. But every guild can decide for itself. This message can also contain the real &'s o f of the users to ping the m a notifier about an ambush..This unique message can be configured with /modifyambushpings {Your text o or pings. An example to ping many users and generating more than one unique message is shown in this example:

/modifyambushpings @Player1, @Player2, @Player3, @Player4, @Player5 && @Player6, @Player7, @Player8, @Player9, @Player10.

The "&&" is the sign that means that a message is split there. See the following output how a trigger with && is split and multiple messages are sent therefore. This way you can make sure that everyone is actually pinged (-> telegram restriction of only pinging at maximum 5 players per message).

Message-split.png


Encounter Pings

Encounter ping messages are very similar to the ambush ping messages. You can turn on and off parsing encounter messages with

/message_encounter_on
/message_encounter_off

The parsed and processed encounter message will give such a result:

Encounter-message.png

The fight button forwards the fight link to any chat of the user choice (needs to go to game bot obviously). The claimed button is so that users can show they already took the encounter and others don't have to try anymore. In case of a mistakenly pressed "claim button", the fight button stays available to allow others to take the fight instead.

With the command /modifyencounterpings @Player1, there is the possibility to add pings below the actual encounter message. Here, there is no modifier enabled to split the message to ping more users.


Encounter-message2.png

Encountermessage with additional ping on the bottom. Also: if the user activated API access and the API reacts quickly enough, there will be a message above the actual encounter showing the HP of the user who found it. This can be used to check out the risk involved in taking the encounter.

Roster Ping Slacking Members

It is possible to allow parsing /g_list messages in the last 30min before battle and ping every (to GeckoBot known) member who is not on attack or defense. This was made to improve battle participation. The command to turn on and off reacting to the roster messages are:

/message_battlepings_on
/message_battlepings_off

Rosterpings.png

If a /g_list message is forwarded to the chat with the battle pings setting on, then all sleeping users will get pinged, as you can see in the example output above.

Answering Battle Reports With Stickers

These settings allow to turn on answering enraged or peacekeeping battle reports with a unique sticker as reward. For details look at Battle Report Rewards.

Battlereport-sticker.png

/message_report_stickers_on: Turning on answering battle reports with reward stickers
/message_report_stickers_off Turning off answering battle reports with reward stickers


Answering Missing Stock Messages

These commands allow to turn on or off the automatic answering of "resources missing to craft' messages. The following messages can be ignored with these settings. Normally all the following messages will automatically trigger a reply by GeckoBot sending withdraw links for all the missing resources or parts/recipes. Due to conflicts with other helper bots for ChatWars, I created a setting to turn off these specific types of messages.

1.) Missing stock when reinforcing gear
Not enough materials. Missing:
10 x Stick
2 x Silver ore
32 x Pelt
4 x Coal
12 x Cloth
3 x Bone
2.1) Missing stock when trying to craft items from the own available recipe list or when crafting items in a BS/Alch shop
Not enough materials for crafting Wooden shaft.
Required:
 22 x Stick
 9 x Powder
2.2) Missing stock when trying to craft items from the own available recipe list or when crafting items in a BS/Alch shop
Not enough materials to craft Artisan mold.
Required:
 11 x Coke
 1 x Magic stone
2.3) Missing stock when trying to craft items from the own available recipe list or when crafting items in a BS/Alch shop
Not enough materials to craft Onslaught Cape.
Required:
 1 x 📃Onslaught Cape recipe
 4 x 🧩Onslaught Cape part
 1 x Blacksmith mold
 13 x Metallic fiber
 7 x Quality Cloth
 47 x Coke
 1 x Sapphire

And last but not least, the actual commands to turn on and off the default replies for missing stock:

/message_answer_missing_stock_on
/message_answer_missing_stock_off

Drugs and Arrows Message Pings

The two triggers "arrows" and "drugs" both allow to set a short text to be shown in the message of the trigger. This can be used to automatically ping the guild leader and the bartenders when someone is using the "drugs" trigger and exactly the same scheme: "arrows" can ping the guild leader and the squires.


/modifydrugspings Ping Message
/modifyarrowspings Ping Message

Exa ple: /modifydrugspings @TheGrumpyGecko STOP SLACKING, WITHDRAW DRUGS!! with the result:

Drugspingmessage.jpg