DialogAddButton

Parameters
whichDialog dialog
buttonText string
hotkey integer
note

When adding a hotkey use the uppercase, e.g. 'F' instead of 'f' as it does not work with lowercased keys. The button still gets triggered when the player presses a lowercased letter.

return type
button
Source code
native DialogAddButton              takes dialog whichDialog, string buttonText, integer hotkey returns button
Source
dialog.j
wc3modding.com
DialogAddButton