Its Jerking.
People asked for the sayall command for mercury emulator.
I've tested it and here it is my own code:
Add to ChatCommandHandler.cs
EDIT:PHP Code:#region zegall :sayall
case "sayall":
if (Session.GetHabbo().Rank > 8) // you can change user ranks
{
string message = MergeParams(Params, 1);
if (message != "")
{
foreach (RoomUser user in Session.GetHabbo().CurrentRoom.GetRoomUserManager().GetRoomUsers())
{
user.Chat(user.GetClient(), message, false, 0);
}
}
}
return true;
#endregion
I've added shoutall tooo ;).
Shoutall command:
PHP Code:#region shoutall :shoutall
case "shoutall":
if (Session.GetHabbo().Rank > 8) // change user rank
{
string message = MergeParams(Params, 1);
if (message != "")
{
foreach (RoomUser user in Session.GetHabbo().CurrentRoom.GetRoomUserManager().GetRoomUsers())
{
user.Chat(user.GetClient(), message, true, 0);
}
}
}
return true;
#endregion
Credits:
Jerking.
Ok thats it bye!.



.
Reply With Quote

.

