Yes, I know, this small sample script is simple and pointless (Particularly for an event), but what shall I do to make it work online? I'm quite a bit of a newbie at scripting, but I used to be able to back in the day.
NPC Code:
//Mouse Bomber
if (mousedown && leftmousebutton) {
putbomb 1,mousex,mousey;
}