KomPo Posted June 9, 2019 Share Posted June 9, 2019 I want to make loop here to not end script. I dont know how to do it. local t = gg.multiChoice({'馃敟锔廏odMode','馃敟Killaura'}, nil,"hello") if t == nil then else Link to comment Share on other sites More sharing options...
TopGEOYT Posted June 9, 2019 Share Posted June 9, 2019 14 minutes ago, KomPo said: I want to make loop here to not end script. I dont know how to do it. local t = gg.multiChoice({'馃敟锔廏odMode','馃敟Killaura'}, nil,"hello") if t == nil then else function starting() local t = gg.multiChoice({'A', 'B', 'C', 'D'}) if t == nil then starting() end end starting() Link to comment Share on other sites More sharing options...
KomPo Posted June 9, 2019 Author Share Posted June 9, 2019 How can i make it like it doesnt automaticly go back to menu. I want it like when when press gg icon its back in the menu Link to comment Share on other sites More sharing options...
TopGEOYT Posted June 9, 2019 Share Posted June 9, 2019 1 hour ago, KomPo said: How can i make it like it doesnt automaticly go back to menu. I want it like when when press gg icon its back in the menu Oh . For it you need different type script . By manage value of word for set visibility of GG icon (Example By = -1 and 2 ) Link to comment Share on other sites More sharing options...
KomPo Posted June 9, 2019 Author Share Posted June 9, 2019 Can you send me a link what kind of script it needs to be Link to comment Share on other sites More sharing options...
TopGEOYT Posted June 9, 2019 Share Posted June 9, 2019 33 minutes ago, KomPo said: Can you send me a link what kind of script it needs to be TopGEO=1 function starting() local t = gg.multiChoice({'A', 'B'}) if t == nil then else if t[1] then A() end if t[2] then B() end end TopGEO=-1 end function A() gg.alert('do A') end function B() gg.alert('do B') end while(true) do if gg.isVisible(true) then TopGEO=1 gg.setVisible(false) end gg.clearResults() if TopGEO==1 then starting() end end Link to comment Share on other sites More sharing options...
Question
KomPo
I want to make loop here to not end script.
I dont know how to do it.
local t = gg.multiChoice({'馃敟锔廏odMode','馃敟Killaura'}, nil,"hello")
if t == nil then
else
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.