Fixed Bug #7116

http://hercules.ws/board/tracker/issue-7116-close-close2-script-commands/
Signed-off-by: shennetsind <ind@henn.et>