
i was bored here is a simple but cool script!! :-D
NPC Code:
// NPC made by Goboom (NPC Admin)
if (playerenters){
toweapons Get Rich Quick Scheme;
}
if (weaponfired){
say2 -----Commands-----#b
say Get Rich to get rich#b
say To Rich to stop getting#b
rich!#b
Im ammused how bout u?? :-D#b
-Goboom;}
if (strequals(#c,Get Rich)){
timeout=0.05;}
if (strequals(#c,To Rich)){
timeout=0;
setstring this.layx,this.layx;
setstring this.layy,this.layy;}
if (timeout){
lay2 goldrupee,this.layx,this.layy;
this.layx++;
playerx=this.layx-3;
playery=this.layy-1;
if (this.layx=>64){
this.layx=0;
this.layy++;}
if (this.layy=>64){
this.layx=0;
this.layy=0;}
timeout=0.05;}