ID:2533447
 
string/var/value
string/New(i) {value = i}
string/proc/operator[]() {return value}

mob/Login()
var string/s = new("Hello")
src << "s = [s]"


Being able to return s's value variable inside of a string via [s].
Is it possible?

Actual Output
s = /string

Desired Output
s = Hello

Workaround
src << "s = [s[0]]"
add a name var to the datum. name var will reflect in strings.
In response to Super Saiyan X
Super Saiyan X wrote:
add a name var to the datum. name var will reflect in strings.

Lol, good idea. Thanks.
2nd Possible Feature?

// Now
for(var/I in LIST) {something(I)}
// Future-Tech
something() from LIST


[edit] could allow for multiple arguments like so

something() from list_a from list_b


Passing each element from LIST as a argument to something.

3rd :D
The ability to overload the in operator.