Hey there, the two commands are pretty much self explanatory,
SPRITE HIT takes two arguments, the two sprites you wish to check collisions on. For example:
SPRITE HIT(1,2) will check if sprite 1 is HITTING sprite 2, this means its checks if sprite 1 is TOUCHING (not overlapping) sprite 2. If it IS TOUCHING, it will return 1.
SPRITE COLLISION works the same way, but this time isn't affected if the sprites and touching, the sprites have to be actually overlapping!
One other thing to note, if you dont put in a second argument, and instead put in 0, e.g.
SPRITE HIT(1,0) or SPRITE COLLISION(1,0)
It will return 0 if there are no collisions / hits, or if there is a collision/hit, it will return THE NUMBER OF THE SPRITE ITS COLLIDING with.
Hope this helps,
Steven John