inferno-collection / Fire-EMS-Pager

A simple resource that allows players to turn their pager on, and tune it to call types.
https://inferno-collection.com/fire-ems-pager
Other
15 stars 17 forks source link

[Suggestion] Ability to set a custom Time Out? #12

Closed wolfpepper closed 5 years ago

wolfpepper commented 5 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

The possibility to add a custom Timeout With the page Tone

Describe the solution you would like A clear and concise description of what you want to happen.

Adding the ability to place a custom timeout or leave the field blank and have it fall back onto the Randomizer which i know is easier said then done

Describe alternatives you have considered A clear and concise description of any alternative solutions or features you've considered.

N/A

Additional context Add any other context or screenshots about the feature request here.

N/A

cm8263 commented 5 years ago

Hello @wolfpepper,

Thanks for your suggestion; could you be a little more specific about what part of the timeout you would like to add to? At present it is already fairly customisable:

args = {"Fire Control", "\nAttention " .. config.deptName .. " - " .. newDetails .. " - " .. newTones .. "Emergency.\n\nTimeout " .. hours .. minutes.. "."}

Where newDetails are the details included in the /page command, and newTones being the tones paged in the /page command.

Or if you are using the default details:

config.defaultDetails = "Report to Station"
...
args = {"Fire Control", "\nAttention " .. config.deptName .. " - " .. config.defaultDetails .. ".\n\nTimeout " .. hours .. minutes.. "."}

Unless you are talking specificly about the timeout part of the message, in which case you can just add to or remove from it as you like 👍

Thanks, - Christopher