It's better to take a screenshot of your event than to try and type it out. And include the entire event window, not just the list of commands.
If that's the error you're getting, it's not caused by this event. I wonder if you're running a script that's causing the issue? Do you HAVE slimes in inventory at the moment?
I just noticed you've posted in the VX forum. You're using VX, and not VX Ace? I have a feeling there MAY be a bug in VX to do with inventory or with variables ... maybe search around this forum for posts by others needing help with setting variables?
And for your reference:
How to take a Screenshot:
You've heard people say to take a screenshot, but how does one take a screenshot of their game? Simple, while the game is running, hit the Prt Scr button on your keyboard, which is located right next to your F12 key. If you're using a laptop, you might have to use the Fn key in combination with the Prt Scr key to get it to work.
Now that you've pressed the button, it's time to paste this screenshot into an image editing software. If you don't have anything fancy such as Adobe Photoshop, GIMP or Paint.NET, no worries; you can use MS Paint instead. Open up your image editing software, create a new file, and then hit ctrl+v on your keyboard, or simply right click on the screen and select paste. This should instantly paste the screenshot into your image editing software. You can go ahead and crop the image to suit your needs, or if you don't even know what that means, you can just upload it as it is.
Save the image as a PNG, or if you really need to, as a high quality JPG.
How to upload the image to the forums
Now that you have you have an image on your computer you'd like to show us, how can you get it to show up on the forums? Firstly, you need to find an image hosting site,
photobucket.com or
imageshack.us are popular ones. If you have another image uploading website, great - use that one! Either way, upload it to the site, and then get the
direct link. Don't get the resized link, or the thumbnail link,
but the direct URL. You'll know you have the direct URL if the URL ends with the file extension you saved your image in (which will hopefully be .png).
Once you have this direct URL to your image, simply use the IMG tags in your forum post and paste the URL in between them. If this image is big, please leave the image in spoiler tags.
IMG tags:
Edit: Yeah, I knew something like this was around:
http://forums.rpgmakerweb.com/index.php?/topic/32-game-interpreter-fix/