ID:143441
 
Problem description:

There isn't really a code yet, I just need to know how to create a variable for the world.

I understand that

world
var
insertvariablenamehere


will not work, as you cannot define world variables.

I am trying to make a team number limiter for my game, to limit the amount of players on one team.

Please help me if you can.

Thanks!
var
insertvariablenamehere

This works, you don't need to include the world part. And also, this can be accessed from anywhere also without including world in the variable either.
In response to Naokohiro
haha! thanks!

i knew it was something obvious like that :P