Development > Coding and development discussion
sending text with custom fonts
(1/1)
Margon:
hi, is it possible to send text with custom fonts?
$this->bot->send_output($name, "<font face='hyborianlarge'>test</font>", 'gc');
dont send with the custom font :(
how can i do this?
Khalem:
To the best of my knowledge, neither AoC or AO supports this.
Kyr:
AoC supports face and color in font tags in script files:
<font color=red face=hyboriansmall>
The BeBot code for theme does allow for faces, only color.
Here is a list of all the faces available:
HYBORIANLARGE
HYBORIANSMALL
LARGE_BOLD
LARGE
NORMAL
NORMAL_BOLD
SMALL
COMBAT_FEEDBACK
FLYING_NUMBERS_SHIELDED_ITALICS
FLYING_NUMBERS_SHIELDED
FLYING_NUMBERS_ITALICS
FLYING_NUMBERS
3D_TEXT_HYB
3D_TEXT_ARIAL
3D_TEXT_SMALL
SCALED
3D_TEXT_BOLD
3D_TEXT
HEADLINE
CHAT
HUGE
Margon:
yes but how can i make a script where the bot sends text with this fonts?
atm my bot only send with the normal font
Kyr:
I don't you can directly as it is written now. You can use the scripts module, but I am not sure it will do what you want.
Here are 2 links with some examples and modules:
* http://bebot.link/aoc-modules/script-module/
* http://bebot.link/aoc-0-6-support/scripts-to-module
Navigation
[0] Message Index
Go to full version