So I'm pretty new to coding and Lua so my problem is probably quite easy to fix but I have been testing it a large part of the evening and I'm not sure how to finish up #3 or if there is a better solution to what I'm trying to do.
Essentially I'd like to create a spawner where you set three values:
1) The Mob's name that should be spawned
2) How many mobs the spawner should create
3) How long since the first player creates/joins the server should the mobs spawn.
An important note is that I would like the monsters only spawn ONCE. The goal is to make it so I can create set monster waves and that they'd be reset and created every time the server is loaded. The objective will be to try to survive the map for 5 minutes. So a side project of course will be to make it so that players don't respawn but are forced back to the main menu on death.
Here is the code thus far, I've simply just tried to edit/hack apart the mobs redo spawner code. Thanks anyone for any help/insight and if you do provide any code please license it under the same license as mobs redo which is WTFPL (or DWYWPL) :) Take care!
-Mike
EDIT - Looks like I might have it!!!! Removed the code paste because it was broken.