• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Scripting...

koitsalu

Banned User
Joined
Sep 27, 2007
Messages
562
Reaction score
1
Hey, I was looking true some .xml scripts and other one, I was wondering if there was a function [perhaps in notepad++], a program or anything that Auto Tabed..
Example :

An untabed script would be like this:

Code:
<spawns>
<spawn centerx="915" centery="1030" centerz="6" radius="5">
<monster name="Cyclops" x="1" y="1" spawntime="200"/>
</spawn>
<spawns>

And a tabed script would look like this:

Code:
<spawns>
	<spawn centerx="915" centery="1030" centerz="6" radius="5">
		<monster name="Cyclops" x="1" y="1" spawntime="200"/>
	</spawn>
<spawns/>
 
Notepad++ can continue the next line with the same amount of tabs as previous line, but I'm not sure if it can auto-tab.
 
Could you explain a bit more, I dont really understand? Because the spawns.xml is never tabbed and which is very annoying, and if I want to tab over 5000 lines, it gets very booring and anyoing :/
 
Back
Top