mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 04:35:52 +12:00
Add %% command."
This commit is contained in:
parent
9c97cdccb4
commit
f14355bae8
5 changed files with 36 additions and 13 deletions
|
@ -656,6 +656,8 @@ namespace HISP.Game
|
|||
public static string AdminChatFormatForSender;
|
||||
public static string ModChatFormatForSender;
|
||||
|
||||
public static string ServerAnnoucementFormat;
|
||||
|
||||
public static string DmModBadge;
|
||||
public static string DmAutoResponse;
|
||||
|
||||
|
@ -2946,7 +2948,7 @@ namespace HISP.Game
|
|||
{
|
||||
return ModChatFormat.Replace("%USERNAME%", username).Replace("%MESSAGE%", message);
|
||||
}
|
||||
|
||||
// NOTE: i dont have the correct format for this, im just guessing
|
||||
public static string FormatAdminChatMessage(string username, string message)
|
||||
{
|
||||
return AdminChatFormat.Replace("%USERNAME%", username).Replace("%MESSAGE%", message);
|
||||
|
@ -3013,6 +3015,12 @@ namespace HISP.Game
|
|||
return WelcomeFormat.Replace("%USERNAME%", username);
|
||||
}
|
||||
|
||||
// NOTE: i dont have the correct format for this, im just guessing
|
||||
public static string FormatServerAnnoucement(string message)
|
||||
{
|
||||
return ServerAnnoucementFormat.Replace("%MESSAGE%", message);
|
||||
}
|
||||
|
||||
// Transport
|
||||
public static string FormatWelcomeToAreaMessage(string placeName)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue