View Single Post
  #20  
Old 03-21-2008, 11:35 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Yeah, the var seems to be a new update, but I don't seem to understand why it's needed, like why do we need a new type? >:[

Well, I finished rescripting everything so it didn't use 'var' some hours ago.. Took me 1 hour to look for a bug I thought was there (wasn't loading vars into a object, seemed that I was using "SCRIPT 2" and I had to edit it to work.. =/)

SCRIPT 2
PHP Code:
temp.file.loadvars("mud/archetypes/"arch @".txt");
for(
temp.var : file.getdynamicvarnames()) {
  ...
  
this.(@var) = file.(@var);

So I just changed all 'var' into 'var2'..
Still, it's kinda annoying that there's no changelog, no notice about it, but a random update no one knew about.. (Happened about 22-23 hours ago)


And about more support for javascript, why did you add var type from javascript? :o
__________________
Reply With Quote