I see many of the new quest written in lua are using what looks like calls to other functions within functions, for example, in guktop, croc_spawns makes a call from event_spawn to croc_spawns();
I cant get this behavior to work on either my windows or linux boxes, here is my test quest I tried when I ran into trouble:
	Code:
	function event_spawn(e)
	e.self:SetRunning(true);
	e.self:Shout("HELLO!!!");
	croc_spawn();
end
function event_say(e)
	if(e.message:findi("hail")) then
		e.self:Say("This works.");
	end
end
function event_waypoint_arrive(e)
	if(e.wp == 1) then
		e.self:Shout("Im at waypoint 2!!");
	end
end
function croc_spawn()
	e.self:Shout("Hi there welcome to Kmart");
end
 When mob spawns I get the initial shout, then croc_spawn is not processed, then when mob arrives at wp 1 I get the shout, also, if I put in an event such as a shout in the event_spawn AFTER calling for croc_spawn, that does not process either, so, how does this work? Assuming these are working on peq maybe im missing something in my setup??