Jump to content
  • 0

How can i gg.alert if results 0


Unnamed1

Question

Posted

So i need help here

If i search the main val and found 0 it should alert or search new val i will putting

 

If g == gg.getResultCount(0)

then

gg.alert("Nothing Found")

end

 

I cant make it able to work

1 answer to this question

Recommended Posts

Posted
if gg.getResultsCount() == 0 then
    gg.alert('not found')
	os.exit() --can be used to end if there is no other search
else
--paste code  

 

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.