The script looks like this.
giveitem 0x5D 0x1 0x0
It has "end" in it. I thought that ended the script. I shouldn't need release because I checked the other scripts that were actually in the game for the water stone and stuff but they were just like what I had only with slightly different offsets and item number of course.
Looping can also depend on how you are actually setting it up in advance map.