1.2 - script
- fix a bug after the code expire, the "list player has claimed this code" option is missing
- fix a bug that when the code suddenly triggered/start, GM still can do edit
- add some text to tell why players can't claim the code
- add announcement when the Promotion Code activate and expire
EDIT: found another bug, when using EDIT start/expire time, the announcement doesn't react .... I don't know how to fix this one <-- let's try trigger every hour
a big word NO
2 conditions then I'll consider
No.1 - tell rathena developers to merge *getcalendartime script command
https://github.com/HerculesWS/Hercules/commit/79b69495bbc5d758529a485eb1144bd64b8ea50f
No.2 - tell rathena developers that *preg_match to follow the exact PHP style format, that can return $array
https://www.php.net/manual/en/function.preg-match.php
currently rathena's preg_match is like this
*preg_match(<regular expression pattern>,<string>{,<offset>})
I want this
*preg_match(<regular expression pattern>,<string>{,<offset>{,<output array>,{<flag>}}})
if rathena has these 2 script commands, then only I'll consider
because this script is using them, without these 2 script commands it just won't feel the same functionality if these 2 features are scrap