uses
SysUtils;
var
BotCustom: TBot;
ScriptCustom: TPaxEngine;
begin
BotCustom:= TBot(BotList(1));
ScriptCustom:= TPaxEngine(BotCustom.Control.GetScript);
if (FileExists(Script.Path + 'test.txt')) then
begin
print(ScriptCustom.Stop);
while (ScriptCustom.Status <> ssStopped) do delay(10);
ScriptCustom.LoadScript(BotCustom, Script.Path + 'test.txt');
ScriptCustom.Run(false);
end;
end.
- Adrenaline
-
Classes
- TL2Control
- TL2Object
- TL2StaticObject
- TL2Spawn
- TL2Live
- TL2Char
- TL2User
- TL2Npc
- TL2Pet
- TL2Drop
- TL2Buff
- TL2Skill
- TLearnItem
- TL2Cast
- TL2Item
- TL2AucItem
- TL2List
- TSpawnList
- TCharList
- TNpcList
- TPetList
- TDropList
- TItemList
- TSkillList
- TBuffList
- TL2Warehouse
- TL2Auction
- TInventory
- TParty
- TConfirmDlg
- TMessages
- TChatMessage
- TBot
- TPaxEngine
- TGps
- TGpsPoint
- TL2Base
- TBaseList
- TBaseObject
- TBaseItem
- TBaseSkill
- TBaseAction
- TBaseNpc
- Enums
- Objects
- Methods
- Units
- NexTarget
- TRadar
- Scripts
- Scripts Examples
- Scripts Catalog
- Order a script
- Useful
- Navigation
- Cabinet
- Bot's site
- Buy Adrenaline
- Instructions
- Game IDs DB
- Tech. support