1
2
In response to Da_Rushyo
|
|
Its generally a lot simpler if you look at it one line at a time.
|
In response to War_master66
|
|
War_master66 wrote:
that reminds me ive heard that same remark from garthor deadron, he said y do use te color, use a period instead, and when i do it comes up with an error, i use periods for everything except usr:verbs and world:contents If using the period gives you an error, you haven't defined your vars properly. |
In response to Crispy
|
|
thats not what i meant
|
In response to Foomer
|
|
See Foomer, thats not exacly what I needed. The first part is intresting but I dont need it because I will only be having obj/apple in my list(Not really apples but let's use it as an example).
The way you showed me to use lists is if every apple was numbered. But the way I want to use it is that every apple has a different name. Such as green or red or machintosh. How would I go about doing that? |
In response to SSChicken
|
|
SSChicken wrote:
See Foomer, thats not exacly what I needed. The first part is intresting but I dont need it because I will only be having obj/apple in my list(Not really apples but let's use it as an example). Here is a whole chapter on Lists: http://www.byond.com/docs/guide/chap10.html In particular, check out section #8 on "Associative lists" which lets things in a list have a name. |
In response to Deadron
|
|
Alrithey ^_^, I'll be rereading my Bluebook once again..
|
1
2
For world:contents you should always be able to use world.contents. "world" is always a known variable (unless you define something as var/world , which you shouldnt do). But that is one of the "safer" places to use it as world should be unique.