ID:149421
 
can global vars be accessed in a proc other than the one they were declared in? If they can, how?
Ya just like any other var.

mob/proc/Test()
if(world.gahh==1)
world<<"hi"
In response to Strange Kidd
ok, but where are you supposed to declare globals under world, so that they are defined for other procs?
In response to Airson
Airson wrote:
ok, but where are you supposed to declare globals under world, so that they are defined for other procs?

You do not define the vars under anything. It is at the top level, so just do something like this:
//My global vars
var
global_1
global_2

mob/player
verb
show_global_vars()
usr << global_1
usr << global_2