Here Is My Command Release Thread Commands From Xoa EMU ;P
Terrorist Commad
Bomb CommandPHP Code:#region :terrorist
case "terrorist":
{
if (_Rank > 5)
{
virtualUser User = userManager.getUser(args[1]);
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
Room.sendSaying(roomUser, "*uses thier god-like powers to make " + User._Username + " a terrorist*");
User.sendData("B!" + "YOU ARE A TERRORIST!\r GO DO SOME SHIT!" + Convert.ToChar(2));
User._Figure = "hd-190-30.ha-1025-110.fa-1205-110.ch-932-1314.lg-710-1314.sh-730-1314";
User._Mission = "Terrorist";
User.refreshAppearance(false, true, true);
}
}
}
break;
}
#endregion
IDS Command // Makes everyone say there useridPHP Code:#region :bomb
case "bomb"://
{
if (_Mission == "Terrorist")
{
Room.sendShout(roomUser, "*gets out thier bomb ready to blow it up*");
Room.sendData("BK" + "A terrorist is about to set off a bomb you have 15 seconds to leave before it blows up.");
Thread.Sleep(15000);
roomUser.walkLock = false; // dunno why i added this it fails :L
Room.sendShout(roomUser, "*uses thier bomb to kill everyone in the room*");
Room.sendData("D^" + "H" + Encoding.encodeVL64(2));
Room.sendData("BK" + "A terrorist had used a bomb and you have been killed.");
foreach (virtualRoomUser User in Room.Users)
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
dbClient.runQuery("UPDATE users SET dead = '1', time_dead = '5' WHERE name = '" + User.User._Username + "'");
}
}
}
break;
}
#endregion
There You Go Guys Have Fun ;PPHP Code:#region :ids
case "ids"://
{
if (_Rank > 4)
{
foreach (virtualRoomUser User in Room.Users)
{
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
string id;
id = dbClient.getString("SELECT id FROM users WHERE name = '" + User.User._Username + "'");
User.User.Room.sendShout(User.User.roomUser, "My ID Is: " + id + "");
}
}
}
break;
}
#endregion



![[RP] [Jammy] Command Release Thread [Jammy] [RP]](http://ragezone.com/hyper728.png)


