IW4M-Admin/SharedLibrary/MessageToken.cs
RaidMax 11d37d4cd6 Added high ping kick functionality to Welcome Plugin
Added response to RCON command if applicable
Added more maps into the map config
2017-06-07 17:08:29 -04:00

21 lines
410 B
C#

using System;
namespace SharedLibrary
{
public class MessageToken
{
public string Name { get; private set; }
Func<string> Value;
public MessageToken(string Name, Func<string> Value)
{
this.Name = Name;
this.Value = Value;
}
public override string ToString()
{
return Value().ToString();
}
}
}