function servercmdtavernpot(%client,%empty)
{
if(%empty$=””)
{
%rand=getrandom(1,10);
if(%rand==1)
{
%client.prefix=”handicapped”;
}
if(%rand==2)
{
%client.prefix=”Cozy”;
}
if(%rand==3)
{
%client.prefix=”Sleeping”;
}
if(%rand==4)
{
%client.prefix=”Traveling”;
}
if(%rand==5)
{
%client.prefix=”Wandering”;
}
if(%rand==6)
{
%client.prefix=”Lovely”;
}
if(%rand==7)
{
%client.prefix=”Curious”;
}
if(%rand==8)
{
%client.prefix=”Sleepy”;
}
if(%rand==9)
{
%client.prefix=”Harmless”;
}
if(%rand==10)
{
%client.prefix=”Dangerous”;
}
%rand2=getrandom(1,10);
if(%rand2==1)
{
%client.suffix=”Pillow”;
}
if(%rand2==2)
{
%client.suffix=”Bed”;
}
if(%rand2==3)
{
%client.suffix=”Blanket”;
}
if(%rand2==4)
{
%client.suffix=”Donkey”;
}
if(%rand2==5)
{
%client.suffix=”Shoe”;
}
if(%rand2==6)
{
%client.suffix=”Owl”;
}
if(%rand2==7)
{
%client.suffix=”Monstrosoty”;
}
if(%rand2==8)
{
%client.suffix=”Traveler”;
}
if(%rand2==9)
{
%client.suffix=”Willow”;
}
if(%rand2==10)
{
%client.suffix=”Dream”;
}
messageall("admin","<color:FFFFFF>"@%client.prefix@" <color:FFFF00>"@%client.suffix@" <color:FF00FF>might be a good name!");
}
else
{
messageclient(%client,’’,”Invalid”);
}
}
Above is server.cs and below is description.txt
Title: Tavern name generator
Author: Kyttike
Does what it name says.
Help is appreciated