Kinjid 0 Posted September 23, 2007 Okay first one msgbox(04, "Welcome", "Would you like to continue?") okay that makes it as Yes/No but what i dont know how to do is how to like if a person picks yes make its make a gui screen appear, or no, make it exit with a msg saying Good bye. Share this post Link to post Share on other sites
Achilles 2 Posted September 23, 2007 (edited) Okay first one msgbox(04, "Welcome", "Would you like to continue?") okay that makes it as Yes/No but what i dont know how to do is how to like if a person picks yes make its make a gui screen appear, or no, make it exit with a msg saying Good bye.$pass = msgbox(04, "Welcome", "Would you like to continue?");Assigns the answer of the message box to a value If $pass = 7 then;If the value is 7 it means the user clicked no Msgbox(0, "Good bye", "Have a nice day!") Exit EndIf GuiCreate('Testing');Create the window GuiSetState();Show the window While 1;Loop forever or until exited Switch GuiGetMsg();Receive any events that happen to the window you created Case -3;If the exit button was pressed (this could also be $GUI_EVENT_CLOSE) Exit EndSwitch WEnd EDIT: Welcome to the forums! EDIT2: Added the part about when the user says no. Edited September 23, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Share this post Link to post Share on other sites
Kinjid 0 Posted September 23, 2007 okay one more, whats a program that you know of that makes guis and gives you the code? for the gui? Share this post Link to post Share on other sites
Achilles 2 Posted September 23, 2007 http://www.autoitscript.com/forum/index.php?showtopic=32299 My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Share this post Link to post Share on other sites
RandomGuest 0 Posted September 23, 2007 It would be cool if there was like an admin section where you need the password to continue.. Share this post Link to post Share on other sites
Achilles 2 Posted September 23, 2007 It would be cool if there was like an admin section where you need the password to continue..Did I miss something??? My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Share this post Link to post Share on other sites
Kinjid 0 Posted September 23, 2007 It would be cool if there was like an admin section where you need the password to continue..um this isnt a thing where there needs to be a admin section, im making a auto-bot for runescape.Did I miss something??? I'm not sure i think he is a noob, I think we better start spraying N00B repeliant Share this post Link to post Share on other sites
RandomGuest 0 Posted September 23, 2007 Oh, no sorry about that lol.. i sorta went off topic Share this post Link to post Share on other sites
Kinjid 0 Posted September 23, 2007 Oh, no sorry about that lol.. i sorta went off topicya... Share this post Link to post Share on other sites
Achilles 2 Posted September 23, 2007 (edited) I think we better start spraying N00B repeliant Edited September 23, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Share this post Link to post Share on other sites