How to create a collapisable list

[center][b]
I am wanting to know how to create this?
Basically creating 1 category and making sub categories for it…
I am using Notepad++

Any help in regards to this would be awesome[/b][/center]

Hi,

I am afraid I don’t quite follow. Could you please elaborate.
You want to make a category with subcategories, in what context? Is this in HTML, is it in a database?

Do you mean something like this?

<html>
  <body>
    <ul>
      <li>This is a listitem</li>
      <li>This is another listitem</li>
      <li>This is a listitem with a list
        <ul>
          <li>This is a sublist item</li>
          <li>this is another sublist item</li>
        </ul>
      </li>
      <li>This is another listitem with a list
        <ul>
          <li>Sublist...</li>
          <li>'nother sublist</li>
        </ul>
      </li>
    </ul>
  </body>
</html>

What exactly are you using notepad(++) for?

Anyway, good luck!
O.

I tried to post a picture of it… but the forum wont allow me to do so…

But in there is what im talkn about - I believe the language being used is php? What it is for - is a 3rd party program that is being used to identify items within a game and whoever developed the software wrote it in its own language from what I understand…

[Type] Staff && Quality == Rare # [SkillSorceress] >= 2 && [FCR] >=20 && [FireResist]+[ColdResist] >= 43

Is what a line would look like…
And what we are doing now - is using a different program called Kolbot - which seems to use .net framework to even run it… and umm… in order for me to edit the configuration files I had to download Notepad++

I put my mouse over it and it says JScript - assuming java…

And what I am doing is wanting to make the file look more professional? if you will… I re wrote this part of the program and ran it last night and it works… so I know that I go the code right… but now what I am wanting to do is say a Sorceress can use a dagger, wand, staff?

Sorceress

  • Armor
  • Weapons
    • Daggers
    • Wands
    • Staff
      //[Type] Staff && Quality == Rare # [SkillSorceress] >= 2 && [FCR] >=20 && [FireResist]+[ColdResist] >= 43

Basically making it very easy for a user to specify what it is theyre lookn for in the game without having to look through a bunch of crap just thrown together… so if you wanted a particular type of armor - you could click on the armor category and choose from the sub categories.

Ok so I figured out what im after… but not with making subs within the category

Its simply highlighting the section you are wanting to make a group or category of
Right click the highlighted section
Click on Stream Comment

// Red
/*Armors
[Name] == Mage Plate && [Quality] == rare # [FHR] >= 10 && [EnhancedDefense] >= 66 && [MaxHP] >= 31 && [FireResist] >= 20 && [LightResist] >= 20
[Name] == Mage Plate && [Quality] == rare # [FHR] >= 10 && [EnhancedDefense] >= 66 && [MaxHP] >= 31 && [FireResist] >= 20 && [ColdResist] >= 20
[Name] == Mage Plate && [Quality] == rare # [FHR] >= 10 && [EnhancedDefense] >= 66 && [MaxHP] >= 31 && [ColdResist] >= 20 && [LightResist] >= 20

	[Name] == Ornate Plate && [Quality] == rare # [FHR] >= 10 && [EnhancedDefense] >= 66 && [MaxHP] >= 31 && [FireResist] >= 20 && [LightResist] >= 20
	[Name] == Ornate Plate && [Quality] == rare # [FHR] >= 10 && [EnhancedDefense] >= 66 && [MaxHP] >= 31 && [FireResist] >= 20 && [ColdResist] >= 20
	[Name] == Ornate Plate && [Quality] == rare # [FHR] >= 10 && [EnhancedDefense] >= 66 && [MaxHP] >= 31 && [ColdResist] >= 20 && [LightResist] >= 20
*/

Is what I am doing so far… which is almost what im looking for… but I will work with it :slight_smile:
If anyone can figure it out - sweet :stuck_out_tongue:

Sponsor our Newsletter | Privacy Policy | Terms of Service