Joystickplays Posted August 31, 2019 Share Posted August 31, 2019 Anyone know how to show a message if a text is not in the list? Or input prompt? Im using QLua. Link to comment Share on other sites More sharing options...
Administrators Enyby Posted August 31, 2019 Administrators Share Posted August 31, 2019 https://gameguardian.net/help/ make table for possible list of values. If input value not from this list (key from table return nil) then do appropriate actions. But for predefined list better use checkboxes. Link to comment Share on other sites More sharing options...
Joystickplays Posted August 31, 2019 Author Share Posted August 31, 2019 So do I have to do If input[1]==nil then goto notonlist end ::notonlist:: gg.alert('Not in list!') To show not in list alert if the input not on list? If so, please reply further! Link to comment Share on other sites More sharing options...
Rs92ks Posted August 31, 2019 Share Posted August 31, 2019 if input==nil then gg.alert('Not in list!') else … Link to comment Share on other sites More sharing options...
Question
Joystickplays
Anyone know how to show a message if a text is not in the list? Or input prompt? Im using QLua.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.