@ah -- ah.lua (or auction.lua -- whatever you want the command to be)
Code: Select all
---------------------------------------------------------------------------------------------------
-- func: ah/auction
-- auth: <Unknown> :: Modded by Tagban
-- desc: Sets the players position to specific location (can be added to later).
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 0,
parameters = "iiii"
};
function onTrigger(player)
player:sendMenu(3);
end
Code: Select all
---------------------------------------------------------------------------------------------------
-- func: @aspi
-- auth: <Unknown> :: Modded by Tagban
-- desc: Sets the players position to specific location (near Aspi pop).
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "iiii"
};
function onTrigger(player, x, y, z, zone)
player:setPos('20', '-1', '48', '84', '128');
end
@blm -- blm.lua
The first # is item ID from ffxiah, second # is the price. -- Shops have limitations of how many items can be there.
Code: Select all
---------------------------------------------------------------------------------------------------
-- func: BLM Gear Purchase AF1/AF3
-- auth: <Unknown> :: Modded by Tagban
-- desc: Opens Shop for AF1, AF+1 gear.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 0,
parameters = "iiii"
};
function onTrigger(player)
stock = {
11991,6000, -- Wizard's Torque
17423,6000, -- Casting Wand
14092,10000, -- Wizard's Sabots
13964,10000, -- Wizard's Gloves
14217,10000, -- Wizard's Tonban
12641,10000, -- Wizard's Coat
13856,10000, -- Wizard's Petasos
15355,10000, -- Wizard's Sabots+1
14893,10000, -- Wizard's Gloves+1
15564,10000, -- Wizard's Tonban+1
14476,10000, -- Wizard's Coat+1
15228,10000, -- Wizard's Petasos+1
}
showShop(player, STATIC, stock);
end
Code: Select all
---------------------------------------------------------------------------------------------------
-- func: Fafnir
-- auth: <Unknown> :: Modded by Tagban
-- desc: Sets the players position to specific location (Fafnir).
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "iiii"
};
function onTrigger(player, x, y, z, zone)
player:setPos('61', '6', '25', '245', '154');
end
Sets player to special island in Jugner Forest not normally accessible. I called it gmisland.
Code: Select all
---------------------------------------------------------------------------------------------------
-- func: gmisland
-- auth: <Unknown> :: Modded by Tagban
-- desc: Sets the players position to secret island... muahahaha
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 0,
parameters = "iiii"
};
function onTrigger(player, x, y, z, zone)
player:setPos('0', '0', '443', '59', '104');
end
Spits out list of commands (would be possible to separate based on command levels, just by modifying permission values based on use, but I'm lazy)
Code: Select all
---------------------------------------------------------------------------------------------------
-- func: Help Command (Commands List)
-- auth: Tagban
-- desc: Spits out a list of commands (obviously can be changed)
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "s"
};
function onTrigger(player)
player:PrintToPlayer("Availible Commands: @zone, @goto, @home, @costume, @ah, @shop, @wallhack, @raise, @regen, @<job code>, @spells");
player:PrintToPlayer("For complete information: http://www.bnet.cc/ffxi/commands/ -- Ask questions on the forums!");
end
Teleports player near King Behemoth
Code: Select all
---------------------------------------------------------------------------------------------------
-- func: kb/behemoth @kb
-- auth: <Unknown> :: Modded by Tagban
-- desc: Sets the players position to specific location (can be added to later).
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "iiii"
};
function onTrigger(player, x, y, z, zone)
player:setPos('-262', '-20', '21', '196', '127');
end
As I said in the beginning, nothing terribly special, but I'm also not really in the nature of hiding things, so enjoy if they help! Or hopefully anyone that wanted some custom commands can get some ideas from these. Enjoy!