|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
Where do I add this peice of code so I can use the defualt "[" command perfix?
Code:
public override void DoSpeech( string text, int[] keywords, MessageType type, int hue )
{
if ( (int)type == 0x0F ) // If the message is of type GM
text = String.Format( "{0}{1}", Commands.CommandPrefix, text ); // then add the prefix to it
base.DoSpeech( text, keywords, type, hue ); // Process the same way as always
}
__________________
-->Signature Here<-- |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Sep 2004
Age: 37
Posts: 1,006
|
well, the GM: prompt is done in the client so I'm not sure how much luck you'll have by editing the server.
however, theres something in the Core forums about this. you'll need to edit Mobile.cs if I remember correctly. |
|
|
|
|
|
#5 (permalink) | |
|
The noob formerly known as Jakob
Join Date: Jan 2005
Posts: 316
|
Quote:
You need a core mod for it though so you won't get help in the forums after applying it. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|