[Package Index | Mudlib Index | Effect Index]
Written by Pinkfish
varargs mixed add_read_mess(mixed str, string type, string lang, int size)
The str bit is the actual string to add, it is the message which will get printed. The type is the type of the writing, like "spidery writing" or "charcoal based letters". The language is the language in which it is written and the size is the size of the letters. The size is used to see if the writing can fit on the page.
If no type is given, then no type bit is printed and if no size is specified a size of 1 is the default.
This also adjusts the size of stuff on the object. If too much
is attemnpted to be written ont
the object, the remainer will be cut off.
int query_cur_size()
int query_max_size()
mixed * query_read_mess()
The defines in the file /include/language.h should be used
for the indexes into this array.
string query_read_short(object player, int ignore_labels)
It will automaticly add a $name$ onto the end of the string for you.
This will be replaced with the correct a/the short for the message
which is printed.
string query_readable_message(object player, int ignore_labels)
int remove_read_mess(string str, string type, string lang)
If you know the actual message or the language or the type you can remove that message.
Using the type and or language is a very dodgy way of doing this. Using a combination is much better.
Any of the parameters set to a non-zero value will be used for the search.
void set_cur_size(int siz)
void set_max_size(int siz)