Blockland Forums > Modification Help
My chatbot is not working
Nexus:
you can easily get around that by declaring the array right afterward
Port:
--- Quote from: Ipquarx on May 05, 2012, 05:11:37 PM ---YOu can even use any charachter that blockland supports, like €£¥#%^*+=?, and as long as you put those characters in array brackets, it will work. you can even use spaces.
--- End quote ---
==>$val["hello world"] = 1;
==>export("$val*", "config/test.cs");
==>deleteVariables("$val*");
==>exec("config/test.cs");
config/test.cs Line: 1 - Syntax error.
>>> Some error content, with ## on sides of error halt:
valhello world ##=## 1;
>>> Error report complete.
Executing config/test.cs
config/test.cs Line: 1 - Syntax error.
>>> Some error content, with ## on sides of error halt:
valhello world ##=## 1;
>>> Error report complete.
Ipquarx:
--- Quote from: Port on May 06, 2012, 06:19:27 AM ---==>$val["hello world"] = 1;
--- End quote ---
My point proven.
as long as it is in those [" 's, it will work.
The damn ui name tables are made like this.
Lugnut:
--- Quote from: Port on May 06, 2012, 06:19:27 AM ---==>deleteVariables("$val*");
--- End quote ---
um
wat
Ipquarx:
--- Quote from: Lugnut1206 on May 07, 2012, 05:08:48 PM ---um
wat
--- End quote ---
Deletes all global variables starting with "var".