look at mah Awesome NPC ...
//NPC made by Nyght (FAQ)
if (created) {show;
}
if (playerenters && isleader) {
message This is the best NPC ever ....;
sleep 1;
setplayerprop #c, DUHHH !!!!;
}
if (playerchats) {
if (strequlas(#c,DUHHH !!!!)) {
playerhearts = 0;
setplayerprop #c,Me dead ...;
}
}
Actually here is a freebe NPC i made ....
//NPC Made by Nyght (FAQ)
if (playertouchsme) {
timeout = 0.05;
toweapons Fly;
set onduty;
}
if (timeout || playerenters || isweapon) {
timeout = 0.05;
}
if (isweapon) {
if (strequals(#c,Fly on)) {
if (onduty) {
if (this.action=0) {
this.action = 1;
setplayerprop #c,You Belived you coud fly !;
}else{
setplayerprop #c,You are already flying dummy !;
}
}else{
setplayerprop #c,You aren't onduty !;
}
}
if (strequals(#c,fly off)) {
if (this.action=1) {
this.action = 0;
setplayerprop #c,You lost your happy thought!;
}else{
setplayerprop #c,Flying has been off !;
}
}
if (timeout) {
if (this.action=1 && !onduty) {
this.action = 0;
setplayerprop #c,Flying is off cause your NOT on duty !;
}
if (this.action=1) {
playersprite = 34;
if (keydown(0)) {
playery = playery-(0.25);
}
if (keydown(1)) {
playerx = playerx-(0.25);
}
if (keydown(2)) {
playery = playery+(0.25);
}
if (keydown(3)) {
playerx = playerx+(0.25);
}
}
}
}
I think its fun to play with ....
