Nice
Here is a gift too, basic, but nice:
NPC Code:
//NPC made by *osrs
// Light effect
if(created){
color = {0.5,0.5,0.5,0.5};
timeout = 0.05;
}
if(timeout){
for(i = 0; i < 10; i ++){
this.a = (this.a < 10) ? (this.a + 0.5) : this.a = 0;
showimg this.a * i,light4.png,mousex - 3.5,mousey - 3.5;
changeimgcolors this.a * i,color[0],color[1],color[2],color[3];
changeimgzoom this.a * i,random(0.1,0.9);
changeimgvis this.a * i,1;
}
timeout = 0.05;
}
if(playerchats){
if(strequals(#c,/red)) color = {0.5,0,0,0.5};
elseif(strequals(#c,/green)) color = {0,0.5,0,0.5};
elseif(strequals(#c,/blue)) color = {0,0,0.5,0.5};
elseif(strequals(#c,/alpha)) color = {0.5,0.5,0.5,0.5};
}