I am trying to become a better scripter and I have learned variable arrays and I came up with this script as a test:
// NPC made by SaijinGohan
if (created) {
this.test = {random(1,20),random(1,20),
random(1,20),random(1,20),random(1,20),
random(1,20),random(1,20),random(1,20),
random(1,20),random(1,20)};
timeout = 1;
}
if (timeout) {
a = this.test[random(1,9)];
message #v(a);
timeout = 1;
}
Will anyone teach me string arrays or manipulate this test to use string arrays?
