Jump to content
  • 0

Can you group search with input prompt?


ImSp8n

Question

I am currently trying to make a script to make searches a bit easier and the game I am modding is Dragon Ball legends, the searches I want to accomplish with group search with input prompt is like "454;0;65536;-1::21" and '220;0;65536;-1::21"
they are very repetitive searches and I'd like to have it more efficient to just input the value I want rather than always doing the old fashioned way

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

I'm not very good with scripting but I'll try to help.

So are you looking to be able to just input 454 or 220 as a prompt and it does your search?

If so then this might work for you:

one = gg.prompt({'Enter value:'}, nil, {'number'})
if not one then return gg.toast('Cancel')
end

s = ""..one[1].. ';' .."0;65536;-1".. '::' .."21"..  ""

Then you just search "s".

There's probably a much better way to do it but it might do the job for you whilst you wait for a better solution.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.