Code:
if (Splitter[0] == "/congratulate")
{
World.SendMsgToAll("Congratulations to"+ Splitter[1]+" for winning the event" , "[SYSTEM]", 2011);
}
Code:
if (Splitter[0] == "/congratulate")
{
foreach (DictionaryEntry DE in World.AllChars)
{
Character Char = (Character)DE.Value;
if (Splitter[1] == Char.Name)
{
World.SendMsg("Congratulations to "+ Splitter[1]+" for winning the event" , "[SYSTEM]", 2011);
}
}
}
Then you get this
This code was used by me as an event code..
Have fun
60% Of the credits go to BasicCoder
40% Go to me cause I posted half the code, then he edited it






