PDA

View Full Version : Problem with [ CODE ] blocks?


stoffe
08-25-2005, 04:42 PM
It seems the forum occasionally does strange things to text inside [ CODE ] blocks when there is a long string of text without any spaces, often containing capital letters but I'm unsure if that's relevant.

Here is an example:


if(GN_GetSpawnInCondition(SW_FLAG_EVENT_ON_HEARTBE AT))


When I wrote that, there were no blank spaces between the E and the A in HEARTBEAT in the text. For some reason the forum added that itself.

This has the potential to become very annoying if you post larger scripts where you have to proof-read them very carefully after posting to make sure the forum hasn't messed up the code.

Can something be done about this?

Darth333
08-25-2005, 04:51 PM
It looks like you can't type more than 50 consecutive characters. I'll see what can be done.

I know it's annoying but in the meantime, you can place space where it does not affect the the script:

if (GN_GetSpawnInCondition (SW_FLAG_EVENT_ON_HEARTBEAT))