Here is a simple drop command, it drops either Meteors or Dragonballs.
Script
Insert it in Client.cs where all the other commands are:
Command Format
/drop [ITEM] [AMOUNT]
[ITEM] met or db
[AMOUNT] 1 - 255
EXAMPLE: /drop db 6
Press Thanks if this helped!
Script
Insert it in Client.cs where all the other commands are:
Code:
if (Splitter[0] == "/drop")
{
uint MoneyDrops = 0;
byte Repeat = byte.Parse(Splitter[2]);
for (int i = 0; i < Repeat; i++)
{
if (Splitter[1] == "db")
{
string Item = "1088000-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(MyChar.LocX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(MyChar.LocY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)MyChar.LocMap, MoneyDrops);
World.ItemDrops(item);
}
if (Splitter[1] == "met")
{
string Item = "1088001-0-0-0-0-0";
DroppedItem item = DroppedItems.DropItem(Item, (uint)(MyChar.LocX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(MyChar.LocY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)MyChar.LocMap, MoneyDrops);
World.ItemDrops(item);
}
}
}
/drop [ITEM] [AMOUNT]
[ITEM] met or db
[AMOUNT] 1 - 255
EXAMPLE: /drop db 6
Press Thanks if this helped!