collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: sending text with custom fonts  (Read 5527 times)

0 Members and 1 Guest are viewing this topic.

Offline Margon

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
sending text with custom fonts
« on: May 03, 2010, 12:45:17 pm »
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?

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: sending text with custom fonts
« Reply #1 on: May 05, 2010, 01:53:33 pm »
To the best of my knowledge, neither AoC or AO supports this.
BeBot Founder and Fixer Kingpin

Offline Kyr

  • BeBot Apprentice
  • ***
  • Posts: 177
  • Karma: +0/-0
Re: sending text with custom fonts
« Reply #2 on: May 05, 2010, 06:24:04 pm »
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

Offline Margon

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
Re: sending text with custom fonts
« Reply #3 on: May 05, 2010, 06:38:57 pm »
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

Offline Kyr

  • BeBot Apprentice
  • ***
  • Posts: 177
  • Karma: +0/-0
Re: sending text with custom fonts
« Reply #4 on: May 05, 2010, 07:25:44 pm »
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

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 478
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal