These here forums are read-only. Click here to go to the new forums, where you can actually post and stuff!
Sorry for the inconvenience
-Andrew
How do I reference a world in an if statement?
For example:
if (current_level = "world") { p.Message("test"); }
If you want to reference the world a given player is in, use p.level (assuming Player p) if you want that level's name, use p.level.name
I'm assuming you're using MCGalaxy. Which is C#, not C++
If you have other questions and want to be able to answer them yourself, I highly recommend you download the source code for MCGalaxy, then think of a place where MCGalaxy actually does what you want to do, then finding that bit of code so you can see how it's done. That's my go-to method.