From 3d595e664563bf6ac3e434152baadd7dbc295d06 Mon Sep 17 00:00:00 2001 From: Ibrahim Zidan Date: Tue, 7 May 2019 06:57:09 +0200 Subject: Implement getfont script command which returns player's current chat font Signed-off-by: Ibrahim Zidan --- doc/script_commands.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index d14393a8a..72f86024e 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -9172,6 +9172,12 @@ currently used font is used, default interface font is used again. --------------------------------------- +*getfont() + +This command return the player's current font. +if no player is attached it would always return a 0, which is also the default font. + +---------------------------------------' *showdigit({, }) Displays given numeric 'value' in large digital clock font on top of the -- cgit v1.2.3-70-g09d2