ReadCommandIterator Function

Reads a command iterator, then advances to the next command if any. Only SourceMod specific commands are returned.

bool ReadCommandIterator(Handle iter, char[] name, int nameLen, int &eflags, char[] desc, int descLen)

Parameters

Handle iter

Command iterator Handle.

char[] name

Name buffer.

int nameLen

Name buffer size.

int& eflags

Effective default flags of a command.

char[] desc

Command description buffer.

int descLen

Command description buffer size.

Return Value

True on success, false if there are no more commands.