It's a crazzy but cool command this eha, I can improve that to say the room of the moderator, cool.
It's a crazzy but cool command this eha, I can improve that to say the room of the moderator, cool.
Thats a terrible idea, he saying he summoned over 250 people to one room that would most likely crash the server or cause massive lag summonall would always be abused and never work well maybe summonallstaff is a better command but not summon all thats just asking for trouble lol
on topic: nice commands.
I understand now. Do you have the :sa command fixed as well it doesn't work if you space after a letter.![]()
Try this:
#region Staff Alert (:sa)
case "sa":
{
if (Session.GetHabbo().HasCmd("sa"))
{
string Message = "Message From Staff: \n" + MergeParams(Params, 1) + "\n\n - " + Session.GetHabbo().Username;
ServerMessage message = new ServerMessage(Outgoing.BroadcastMessage);
message.AppendString(Message);
SilverwaveEnvironment.GetGame().GetClientManager().StaffAlert(message);
SilverwaveEnvironment.GetGame().GetModerationTool().LogStaffEntry(Session.GetHabbo().Username, string.Empty, "StaffAlert", "Staff alert [" + Message + "]");
}
return true;
}
#endregion
Last edited by Yadz; 04-04-14 at 10:40 PM.
Summonall ;3 haha just because it funny watching noobs abuse this ;3
PHP Code:case "summonall":
{
Room currentRoom = Session.GetHabbo().CurrentRoom;
List<RoomUser> roomUsers = currentRoom.GetRoomUserManager().GetRoomUsers();
if (Session.GetHabbo().HasCmd("summonall"))
{
foreach (GameClients.GameClient c in SilverwaveEnvironment.GetGame().GetClientManager().clients.Values)
{
if (c.GetHabbo() != null)
{
if (c.GetHabbo().Username == Session.GetHabbo().Username)
{
Session.SendNotif("You have summoned everyone");
}
else
{
c.GetMessageHandler().PrepareRoomForUser(currentRoom.RoomId, currentRoom.Password);
c.SendNotif(Session.GetHabbo().Username + "Has Summoned you");
}
}
}
}
return true;
}
I made all of these commands for Phoenix once. :P I also did a :freezeall, and :effectall
Nice Release / Snippets bro
Thanks for the :sa Command :)
@Yadz Can you fix the hal command??