Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Results 1 to 2 of 2
  1. #1
    Grunt

    Join Date
    Aug 2008
    Posts
    41
    Rep Power
    18
    Reputation
    41

    Renaming GM Commands


    Register to remove this ad
    This is very simple, even a hasbro can do it.(FYI im using Ascent as this example) First what you need to do is go into Chat.cpp. Now for an example im going to be modifying this
    Code:
    else if(!strcmp(name, "gmTicket"))
            return _GMTicketCommandTable;
    Now, I want to scroll down untill I can see this bit of code
    Code:
    static ChatCommand GMTicketCommandTable[] =
        {
            { "get",         'c', &ChatHandler::HandleGMTicketGetAllCommand,  "Gets GM Ticket",               NULL, 0, 0, 0},
            { "getId",       'c', &ChatHandler::HandleGMTicketGetByIdCommand, "Gets GM Ticket by ID",         NULL, 0, 0, 0},
            { "delId",       'c', &ChatHandler::HandleGMTicketDelByIdCommand, "Deletes GM Ticket by ID",      NULL, 0, 0, 0},
            { NULL,            0, NULL,                                       "",                             NULL, 0, 0  }
        };
        dupe_command_table(GMTicketCommandTable, _GMTicketCommandTable);

    WoW.. what a handful, now im going to be changing 3 things "get" "getid" "delId" they are just the things that you type in game for GmTickets.
    Now im going to change "get" to "getTicket"
    Then im going to change "getId" to "getTicketId"
    And finally I will change "delId" to "delTicketId"

    Code:
    &ChatHandler::HandleGMTicketDelByIdCommand, "Deletes GM Ticket by ID"
    Now, all the things in red you may not change, but the others you keep the same, the " " will say Deletes GM tckets by ID next to the command.
    You may also make custom commands like .morphall may release a guide later on how to do that.

    Note: My guides will no longer be allowed on ******* as I have just joined and will put all my contributions on there. ******* name: *~Descending~*



  2. #2
    Beginner

    Join Date
    Jan 2009
    Posts
    1
    Rep Power
    18
    Reputation
    1

    Register to remove this ad
    yap very simple

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 03:25 PM.
Powered by vBulletin® Copyright ©2000-2026, Jelsoft Enterprises Ltd.
vBulletin Licensed to: MMOPro.org
vBulletin Skin By: PurevB.com