Thread: Script Styler
View Single Post
  #1  
Old 12-07-2004, 01:04 AM
Andares Andares is offline
Scr1pt3r-ish
Andares's Avatar
Join Date: Mar 2004
Posts: 55
Andares is on a distinguished road
Send a message via AIM to Andares
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!
__________________
Quote:
<Wan> Can I have a poll? Do people mind if I talk about sexual intercourse between two human beings?
<Kai> Wan, I think the problem is that it's basically ALL you talk about
<Wan> Ahhhhhh
Aim: AtariTandy | Job: Sanstrata)
Reply With Quote