Skip to main content

add_command

Discworld guild help

add_command

Name

add_command - Adds a teachable command.

Syntax

void add_command(string command, string *path, int level);

Description

This sets up a command that will be taught to the person once they reach a certain level. The skill is given by *path, and the level needed in the skill is given by level. If the teaching person is dead or hasn't been set, then this will not do anything. There needs to be a valid teaching person for the teaching to work.

See also

add_spell, set_teaching_person