I usually use more arrays than lots of this.vars,like:
array = {10,20,30,40};
instead of
this.var1=10;
this.var2=20;
as Pokilty already said,i like to use for loops:
for(i=0;i<4;i++){changeimgvis i,4;}
instead of
changeimgvis 1,4;
changeimgvis 2,4;
You can find many ways to make your script shorter.
Btw,this remember a funny thing that ive seen,i saw a script 2 weeks ago (i wont say who was the scripter,but its a famous person),he made a scrolling message like this:
NPC Code:
if(playerenters){
message H;
sleep0.5;
message Hi;
sleep0.5;
message H;
sleep0.5;
message;
timeout = 1;
}
hehe
