• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

I need coding help!

Status
Not open for further replies.
Level 9
Joined
Apr 14, 2007
Messages
437
With coding, I'm pretty good. But one thing I can't figure out, is how to make another box popup after someone hits a button, like OK, No, Accept, or whatever. How do I do this?

EDIT: It can be any kind of coding, but preferably .vbs, .bat, .html, or JScript files
 
Level 6
Joined
Nov 1, 2007
Messages
42
that's simple to do:

IN C

Code:
#include <windows.h>

int main()
{
    if (MessageBox(0,"Pick an option", "MessageBox Example", MB_YESNO) == IDYES)
    {
        MessageBox(0, "You clicked yes", "MessageBox Example",0);
    }
    else
    {
        MessageBox(0, "You clicked no", "MessageBox Example", 0);
    }
}
 
Level 9
Joined
Apr 14, 2007
Messages
437
thanks for the help, and sorry i coulnd't respond sooner. i was grounded for 5 days, but now im back. ill try all your suggestions and see what works best. btw, i wanted to make an annoying test where 50 million boxes popup lol

EDIT: nice....I found out how to do, and it doesn't need to press a button at all. I mean, a certain button. No matter what you do, itll keep poping up with a diffretn message. I made over 200 messages popup one after another to annoy the hell out of my friends:) lol.

I wish I could give rep......well, I have a long way to go
 
Last edited:
Status
Not open for further replies.
Top