Revision Difference
ai.GetScheduleID#518900
<function name="GetScheduleID" parent="ai" type="libraryfunc">
<description>Translates a schedule name to its corresponding ID.</description>
<realm>Server</realm>
<args>
<arg name="sched" type="string">Then schedule name. In most cases, this will be the same as the <page>SCHED</page> name.</arg>
<arg name="sched" type="string">Then schedule name. In most cases, this will be the same as the <page>Enums/SCHED</page> name.</arg>
</args>
<rets>
<ret name="" type="number">The schedule ID, see <page>SCHED</page>. Returns -1 if the schedule name isn't valid.</ret>
<ret name="" type="number">The schedule ID, see <page>Enums/SCHED</page>. Returns -1 if the schedule name isn't valid.</ret>
</rets>
</function>