![]() |
just had an idea.
Since the tab button doesn't work in script editor its really hard to format code. So what about a button in the window that says 'Format Code' and does the command "/style weapon/npc/script name" or whatever the command is. Also, found a bug. If you open the vars and the script of a DB npc at one time, it doesn't dispaly properly (if you open script than vars, both script and vars will show the vars. if you close vars the script is correct though.) |
Quote:
Quote:
|
Quote:
If you have padding enabled on operators it will cause syntax errors if you use var @= "something"; as it places a space between @ and =. Example: HTML Code:
function onCreated() { this.var += 1;HTML Code:
function onCreated()scriptstyle=spaces=2,padding=oper,brackets=break is used in this example. I assume its the same for some other operators added in GS2. |
Well, it's one step closer to being able to style code in the scripted rc.
Quote:
|
| All times are GMT +2. The time now is 06:50 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.