![]() |
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! |
There is a server option, scriptstyle, for changing the way the /style command styles your scripts. Try playing around with that.
Read this |
And Slash saves the day.
|
Shouldn't someone move this to the fixed bugs board?
|
Quote:
|
Quote:
|
Quote:
|
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.