oh good god you *****s
NPC Code:
//News Poster by Supersonic & shitz
//Don't use this online unless you have my permission
if (created) {
setimg radio.gif; //Change this to whatever the hell you want
}
if (playerenters) {
if (strequals(#g,Posters)) { //Change guild name
//toweapons -Post;
//Uncomment line for porta-posting
}
}
if (playerchats) {
tokenize #c;
if (strequals(#c,Post: "#t(1)")) {
if (strequals(#g,Posters)) { //Change Guild Name
setstring server.post,#t(1);
}else{
setplayerprop #c,(not authorized to post);
}
}
}
This may be buggy as hell, because I haven't tested it, in another NPC do this code
NPC Code:
message #s(server.post);
timeout=.05;