NPC Code:
// NPC made by TDO
if(playertouchsme){
toweapons scrolltext;
}
if(playerchats && isweapon && startswith(setscrolltext,#c)){
setstring scrolltext,#e(13,-1,#c);
setstring scrolling,#s(scrolltext);
}
if(weaponfired){
if(this.active==1){this.active=0;}
else {
setstring scrolling,#s(scrolltext);
this.active=1;
timeout=.05;
}
}
if(timeout && this.active==1){
setstring scrolling, #e(strlen(#s(scrolling))-1,-1,#s(scrolling))#e(0,strlen(#s(scrolling))-1,#s(scrolling));
setplayerprop #c,#s(scrolling);
timeout=.1;
}
a text-scrolling-item... I'm sure I could make it shorter, but I've no time...