ID:164946
 
I guess I can't really give the world variables, so I really don't know how to do this.

I'm wanting to make it to where if someone achieves something that no one else has achieved before, it announces it to the world... like if a person achieves level 1000, there will be a message to the world saying "So and So is the first to reach level 1000!"
You can't define new vars on /world, but you can define global variables, which are basically the same. Just define them on the top-level tree/
var/my_global_var


So, a quick basic example for this case:
var/big_level_reached = 0 //define a global variable

mob/LevelCheck()
if(src.exp > src.maxexp)
src.exp -= mapexp
src.level++
if(src.level >= 1000 && !big_level_reached) //if src's level is high enough, and 'big_level_reached' is false
world << "[src.name] reached level 1000"
big_level_reached = 1 //set it to 1 (true value) so it won't happen again anymore
In response to Kaioken
Ah, gracias.

This is cisconarc btw x_x