mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* Minor MRM Cleanup
* Interfaces now live in Interfaces subdirectory. * Namespace does not yet reflect this change. * Final namespace for MRMs will probably sit somewhere around OpenSim.Extend.MRM[?]
This commit is contained in:
@@ -38,13 +38,21 @@ namespace OpenSim
|
||||
|
||||
void World_OnChat(IWorld sender, ChatEventArgs e)
|
||||
{
|
||||
if(!e.Text.Contains("hic!"))
|
||||
if (e.Sender is IAvatar)
|
||||
{
|
||||
e.Text = e.Text.Replace("s", "sh");
|
||||
e.Text = e.Text.Replace("S", "Sh");
|
||||
e.Text += " ...hic!";
|
||||
if (!e.Text.Contains("hic!"))
|
||||
{
|
||||
e.Text = e.Text.Replace("s", "sh");
|
||||
e.Text = e.Text.Replace("S", "Sh");
|
||||
e.Text += " ...hic!";
|
||||
|
||||
Host.Object.Say(e.Text);
|
||||
Host.Object.Say(e.Text);
|
||||
}
|
||||
}
|
||||
|
||||
if(e.Sender is IObject)
|
||||
{
|
||||
// Ignore
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user