on *:text:!points:#: { msg # You have $rand(1,100) points! }
You never specified what it would do nor what it would be used for/how to pull the information, so that's what you got.
Really though, if there's one thing this forum isn't lacking, it's silly points scripts. Use the search function and you'll find something, I guarantee it.