Changed folder name.
Changed folder name.
This commit is contained in:
15
_module/nss/set_bann_shout.nss
Normal file
15
_module/nss/set_bann_shout.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
void main()
|
||||
{
|
||||
object oUser = GetPCSpeaker();
|
||||
object oItem = GetItemPossessedBy(oUser, "dm_chat_control");
|
||||
if(oItem == OBJECT_INVALID)
|
||||
{
|
||||
FloatingTextStringOnCreature("You may only have one of the DM Chat Control Items, destroy the other copies first!", oUser, FALSE);
|
||||
}
|
||||
//Set the item to control the Shout Channel for a targeted player.
|
||||
else
|
||||
{
|
||||
SetLocalInt(oItem, "DM_CHAT_OPTION", 1);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user