You have obviously overwritten the function fg() with some variable of 
your own in some of your scripts.
Until you've found the error you can use the built-in functions:
setFgColor( 255,0,0 )
setBgColor(0,255,0)
These functions take RGB paremeters from 0-255 for Red, Green and Blue 
part of the wanted color.
setBold( true )
setUnderline( true )
setItalics( true )

Janalon schrieb:
> ** Attachment added: "Picture 2.png"
>    http://launchpadlibrarian.net/28792447/Picture%202.png
>
>

-- 
FG color on echo message produces LUA syntax error
https://bugs.launchpad.net/bugs/396939
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.

Status in Mudlet the MUD client: New

Bug description:
Running Mudlet 10 pre 8 upgraded to 12 on a MacBook Intel Core Duo with OS 
10.5.7. According to Vadi's advice on adding color to the echo output, I cut 
and pasted his code and an error message was reported. Please see the the 
attached picture, as it summarizes the situation the best.

_______________________________________________
Mailing list: https://launchpad.net/~mudlet-makers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp

Reply via email to