15 lines
388 B
Plaintext
15 lines
388 B
Plaintext
void main(){
|
|
object oPC = GetPCChatSpeaker();
|
|
object oArea = GetArea(oPC);
|
|
|
|
int bNoShout = GetLocalInt(oArea, "iNOCHAT");
|
|
|
|
if(bNoShout){
|
|
int nChatVolume = GetPCChatVolume();
|
|
if(nChatVolume == TALKVOLUME_SHOUT){
|
|
SetPCChatMessage();
|
|
FloatingTextStringOnCreature("You cannot shout in this area.", oPC, FALSE);
|
|
}
|
|
}
|
|
}
|