Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Script Styler (https://forums.graalonline.com/forums/showthread.php?t=56328)

Andares 12-07-2004 01:04 AM

Script Styler
 
Since I have a habit of writing messy code, I've started using the script styler. (/style <weapon/class/npc> <name> for those who don't know >_< )

Anyway, it has a few bugs.
#1: It places ; in the middle of a blank line.
#2: Math functions misinterpret (e.g. if(strequals(#c,/warpto)) is styled into if(strequals(#c, / warpto)), and do-move() is turned into do - move()).
#3: It blows up long, complex commands.

Please fix this, Stefan!

Slash-P2P 12-07-2004 11:45 PM

There is a server option, scriptstyle, for changing the way the /style command styles your scripts. Try playing around with that.

Read this

zokemon 12-08-2004 02:58 AM

And Slash saves the day.

Slash-P2P 12-08-2004 03:08 AM

Shouldn't someone move this to the fixed bugs board?

Kaimetsu 12-08-2004 03:47 AM

Quote:

Originally Posted by Slash-P2P
Shouldn't someone move this to the fixed bugs board?

The what?

Slash-P2P 12-08-2004 06:12 AM

Quote:

Originally Posted by Kaimetsu
The what?

The this.

Kaimetsu 12-08-2004 02:24 PM

Quote:

Originally Posted by Slash-P2P
The this.

That is not a forum for "fixed bugs".

Admins 12-10-2004 02:30 PM

It is possible todisable the spaces around operands. The /style option will be updated in a few weeks to be more correct.


All times are GMT +2. The time now is 09:17 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.