GM Announcement...

10/17/2008 10:51 Kiyono#1
//
10/17/2008 19:11 pauldexter#2
here you go, you just need to remove letter(s) and space(s).
Code:
                                            if (Splitter[0] == "/gm")
                                            {
                                                Message = Message.Remove(0, 4);
                                                World.SendMsgToAll(Message, MyChar.Name, 2011);
                                            }
10/17/2008 19:25 Kiyono#3
Thank you
10/18/2008 10:49 _Emme_#4
By the way,LOTF has an gm message command,I think it is /c.

Anyways,heres to code for it,and ill explain abit since I got time:


Quote:
if (Splitter[0] == "/c") // The command
{
Message = Message.Remove(0, 2); // Removes some part of the message,in this case,two letters ( /c )

World.SendMsgToAll(Message, MyChar.Name, 2011); // Sends the message,2011 is the message type
}
Hope you understanded it abit better.

Emme
10/18/2008 12:12 Kiyono#5
o.o you're right