Jump to content
  • 0

getResults not working


swunchyy

Question

Posted

Hi I've never written a script before.
im making a very simple one and getResults isnt working properly? im  trying to get (100) results and im gettinf more than im wanting

here is what i have

function Main()
  end
    menu = gg.choice({
        'male',
        'female',
      }, nil)
    
    if menu == 1 then
      pMenu = gg.choice({
          '☂',
          '☁',
          '♔',
          '♤',
          '♣',
          '♡',
          '♥',
          '♨',
          '❄',
          '➴',
          '➳',
          'none',
          '❥',
          '\n\nRETURN'
      }, nil, 'Symbols')
  end
  if pMenu==1 then
  gg.searchNumber(';♂', gg.TYPE_WORD)
gg.getResults
gg.editAll(';☂', gg.TYPE_WORD)
end
 if pMenu==2 then
  gg.searchNumber(';♂', gg.TYPE_WORD)
gg.getResults(100)
gg.editAll(';☁', gg.TYPE_WORD)
end
 if pMenu==3 then
  gg.searchNumber(';♂', gg.TYPE_WORD)
gg.getResults(100)
gg.editAll(';♔', gg.TYPE_WORD)
end
 if pMenu==4 then
  gg.searchNumber(';♂', gg.TYPE_WORD)
gg.getResults(100)
gg.editAll(';♤', gg.TYPE_WORD)
end
 if pMenu==5 then
  gg.searchNumber(';♂', gg.TYPE_WORD)
gg.getResults(100)
gg.editAll(';♣', gg.TYPE_WORD)
end
if pMenu==6 then
gg.searchNumber(';♂', gg.TYPE_WORD)
gg.getResults(100)
gg.editAll(';♡', gg.TYPE_WORD)
end
if pMenu==7 then
  gg.searchNumber(';♂', gg.TYPE_WORD)
gg.getResults(100)
gg.editAll(';♨', gg.TYPE_WORD)
end
if pMenu==8 then
gg.searchNumber(';♂', gg.TYPE_WORD)
gg.getResults(100)
gg.editAll(';❄', gg.TYPE_WORD)
end 
if pMenu==9 then
gg.searchNumber(';♂', gg.TYPE_WORD)
gg.getResults(100)
gg.editAll(';➴', gg.TYPE_WORD)
end
if pMenu==10 then
gg.searchNumber(';♂', gg.TYPE_WORD)
gg.getResults(100)
gg.editAll('; ', gg.TYPE_WORD)
end
if pMenu==11 then
gg.searchNumber(';♂', gg.TYPE_WORD)
gg.getResults(100)
gg.editAll(';❥', gg.TYPE_WORD)
end

please tell me what i am doing wrong

3 answers to this question

Recommended Posts

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.