Ok so i decided today to release my pet commands as i dont plan on coding pets anymore.
They are not complete so if anyone wants to fix then re-release you may but include me in credits.
This has just about all commands need but not all.
Add these to virtualPet.cs if ur emu has pets. If your not a noob you will know where to add.PHP Code:#region Pet Commands
#region dead
case "dead":
{
handleStatus("ded", "", 20000);
break;
}
#endregion
#region jump
case "jump":
{
handleStatus("jmp", "", 10000);
break;
}
#endregion
#region sit
case "sit":
{
handleStatus("sit", "", 10000);
break;
}
#endregion
#region lay
case "lay":
{
handleStatus("lay", "", 10000);
break;
}
#endregion
#region come
case "come":
{
Coord Next = new Coord();
int[] Borders = Room.getMapBorders();
Next = new Coord(roomUser.X - 1, roomUser.Y);
goalX = Next.X;
goalY = Next.Y;
break;
}
#endregion
#region beg
case "beg":
{
handleStatus("beg", "", 20000);
break;
}
#endregion
#region eat
case "eat":
{
handleStatus("eat", "", 10000);
break;
}
#endregion
#region sleep
case "sleep":
{
handleStatus("ded", "", 20000);
Room.sendShout(this, "ZzzZZZzzzzZzz");
break;
}
#endregion
#region nest
case "nest":
{
ToNest();
break;
}
#endregion
#region NEED TESTING
case "play":
{
handleStatus("ply", "", 10000);
break;
}
case "drink":
{
handleStatus("drk", "", 10000);
break;
}
#endregion
#endregion
#region ToNest
private void ToNest()
{
haltAI = true;
milliseconds = 20000;
Coord PetNest = new Coord();
int[] Borders = Room.getMapBorders();
PetNest = new Coord(Nest.X, Nest.Y);
goalX = PetNest.X;
goalY = PetNest.Y;
//if (X == Nest.X && Y == Nest.Y)
//haltAI = true;
}
#endregion
Please click thanks.


![[C#] [r26] Pet Commands [r26] [C#]](http://ragezone.com/hyper728.png)


