HPM: Script.c Completed

Fully Interfaced.
Moved missing vars and declarations of interest into the interface, removed duplicate mentions of script within calls to shorten wherever it made sense to.

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
还原官方代码以免整合冲突。
还原官方代码以免整合出错。
Merge branch 'master' of https://github.com/HerculesWS/Hercules into ghbb
恢复原创代码。