That's nothing.
Try putting this as your script:
NPC Code:
if (weaponfired) {
spyfire 10,10;
}
Last I checked, it was still undocumented.
How did I find this (and some other) commands? I opened Graal with Notepad. It has every command and built-in flag in there.
You'll even find the bomb/bow script in there.