So, kinda strange, it works, doesn't crash, but it doesn't re-execute it, so there must be something wrong with the schedule.
Source code (Mahro_UpdateAddon/server.cs):
function servercmdstartupdating(%client,%addon)
{
exec("Add-Ons/"@%addon@"/server.cs");
messageAll('',"\c3UpdateAddon\c6: Add-On \c5"@%addon@" \c6was executed, reexecuting in 15 seconds.");
schedule(15000,0,"updateAddon",%addon);
}
When typing /startupdating Mahro_IRC it gives me the message, but never executes again.