I'm bored so blah:
NPC Code:
//Newspaper code
if (playerchats&&strequals(#c,buy newspaper)&&!isweapon) {
if (playerrupees>=5) {
if (!hasweapon(Newspaper)) {
toweapons newspaper;
say2 Here you go.;
}
else say2 You've already got one.;
}
else say2 You need more Gralats!;
}
if (weaponfired) {
say2 #s(server.news);
destroy;
}
NPC Code:
//News poster code
if (playerchats&&strequals(#g,editor)) {
if (strequals(#c,edit news)&&this.mode==0) this.mode=1;
else {
setstring server.news,#c;
this.mode=0;
}
}
This is a really primitive example of how you could make one of those things
