var Event_System/ES = new
Event_System
New()
var list/timers = new
var id, list/l, o
var tick = world.tick_lag
for()
for(id in global.events)
l = global.events[id]
timers[id]++
if(timers[id] >= l[3])
timers[id] = 0
if(l[1]==null)
call(l[2])()
else if(islist(l[1]))
for(o in l[1])
call(o,l[2])()
else
call(l[1],l[2])()
sleep(tick)
var list/events = new
proc/AddEvent(id,object,function_path,timer)
if(object)
global.events[id] = list(object,function_path,timer)
else
global.events[id] = list(null,function_path,timer)
return TRUE
proc/RemoveEvent(id)
global.events -= id
mob/Login()
AddEvent("Hunger",src,/mob/proc/StatusUpdate,30)
mob/proc/StatusUpdate()
world << "Beep!"
Problem description:
Causes the alert for the use of an external dll.

However I think it'd probably be better for me to change the compiler not to use the .dll instruction for these cases.