BcStorm adding command help

Kyle

Member
Jul 4, 2010
61
8
Hi, i'm coding the command :rape for a friend, and i'm almost there, i just can get the user to say "blah blah blah".

The way i've done it is you type :rape [username]
I've got that all sorted i just need the user to say: *Help! I'm getting raped by [my username]*
And i also want the user whos doing the command to say: *[my username] starts raping [there username]*

Here's my code:

Code:
internal void rape()
        {
            GameClient clientByUsername = null;
            clientByUsername = ButterflyEnvironment.GetGame().GetClientManager().GetClientByUsername(this.Params[1]);
            if (clientByUsername != null)
            {
                if (clientByUsername.GetHabbo().Username != this.Session.GetHabbo().Username)
                {
                    // You say *[my username] starts raping [there username]*
                    // They say *Help! I'm getting raped by [my username]*
                }
                else
                {
                    this.Session.SendNotif("You cannot rape yourself!");
                }
            }
            else
            {
                this.Session.SendNotif(LanguageLocale.GetValue("input.usernotfound"));
            }
        }

Thanks.
 

Users who are viewing this thread

Top