28 lines
622 B
Plaintext
28 lines
622 B
Plaintext
|
|
DEBUG(1) DEBUG(1)
|
|
|
|
NAME
|
|
debug() - Generates messages useful for debugging.
|
|
|
|
SYNOPSIS
|
|
varargs void debug(mixed msg, string color)
|
|
|
|
DESCRIPTION
|
|
This command sends 'msg' to all users() who have
|
|
enabled receipt of debug info with the debug command.
|
|
The optional 'color' indicates what color the message
|
|
should be.
|
|
|
|
EXAMPLE
|
|
|
|
In a misbehaving npc:
|
|
debug("My skills: " + identify(this_object()->GetSkills()),"red");
|
|
|
|
LOCATION
|
|
/secure/sefun/communications.c
|
|
|
|
Author
|
|
Cratylus @ Dead Souls
|
|
|
|
1
|