Project

General

Profile

Feature - Enhancement #2274

Add option to select entries in a eq2listbox

Added by Kannkor 6 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2024-05-27
Due date:
% Done:

0%

Estimated time:
vbulletin_issue_id:

Description

Easiest one to use as an example, is the guild window ( u by default ), then click the "Events" tab. You can (manually) click and select any entry in there. Looking for a way to do this via script.

 

https://cdn.discordapp.com/attachments/550454120520351745/1244818083508523059/image.png?ex=66567eae&is=66552d2e&hm=c17572d385834e94910ab2a7b58f2d2912b90e522b4de33ea8c170d0b40fc049&

 

 

Here's a short snippit that will echo the first 3 entries.

 

variable index:collection:string Options

    variable iterator OptionsIterator

    variable int OptionCounter = 0

 

    EQ2UIPage[_HUD,guild].Child[page,_HUD.guild].Child[5].Child[4].Child[1].Child[2]:GetOptions[Options]

    Options:GetIterator[OptionsIterator]

   

    if (${OptionsIterator:First(exists)})

    {

        do

        {

            if (${OptionsIterator.Value.FirstKey(exists)})

            {

                do

                {

                    echo "Option #${OptionCounter}::  '${OptionsIterator.Value.CurrentKey}' => '${OptionsIterator.Value.CurrentValue}'"

                }

                while ${OptionsIterator.Value.NextKey(exists)}

                ;// echo "------"

            }

            OptionCounter:Inc

        }

        while ${OptionsIterator:Next(exists)} && ${OptionCounter} < 3

    }

 

 

 

 

#1

Updated by Kannkor 5 months ago

Also available in: Atom PDF