Switch from closedialog() to closeclientdialog()
The latter offers more control and we have no reason to still use the former as evol-hercules currently supports only client protocol 16+ (Jan 5 2016) so we don't have to worry about backward-compatibility. Also we should standardize our use of such commands by making use of the ones provided in goodbye.txt such as cwarp()
which closes the dialog and warps the player, and cshop()
which closes the dialog and opens a shop.
## Todo
-
Replace every occurrence closedialog()
bycloseclientdialog()
- Make use of the script terminators provided by goodbye.txt in new scripts or old scripts that we refactor
Edited by Reid