Addrid command

Discussion Topic: http://hercules.ws/board/topic/1764-implement-addrid-script-command/

I made a pull request because i think that, this command is useful for many scripts.