@autoloot and long range attack
Moderator: Moderators
-
- Noob
- Posts: 18
- Joined: 27 May 2013, 05:40
- Noob?: Yes
@autoloot and long range attack
can someone help me how to add command @autoloot everytime the bot on and i bot with my hunter but the hunter need to get closed to attack besides i got all the skills. and btw why am i cant open my hunter when i bot with it thx
-
- The Kore Devil
- Posts: 672
- Joined: 22 Feb 2013, 03:40
- Noob?: No
- Location: The Netherlands
Re: @autoloot and long range attack
Learn to search. You have several options to choose of, a automacro at startup or a plugin to do the command automatically at startup.
http://forums.openkore.com/viewtopic.ph ... 90&start=0
http://forums.openkore.com/viewtopic.ph ... 90&start=0
-
- Noob
- Posts: 18
- Joined: 27 May 2013, 05:40
- Noob?: Yes
Re: @autoloot and long range attack
sir 1 more question where do i need to put my cmdOnLogin.pl with this kind of script
# ============================
# cmdOnLogin v.1.0.0
# ============================
# Licensed by hakore (hakore@users.sourceforge.net) under GPL
#
package cmdOnLogin;
use strict;
use Globals;
my $done;
Plugins::register('cmdOnLogin', 'automatically do a command on login', \&onUnload);
my $hooks = Plugins::addHooks(
['Network::serverConnect/char', \&onConnect],
['AI_pre', \&onAI]
);
sub onAI {
if (!$done && $config{cmdOnLogin}) {
Commands::run($config{cmdOnLogin});
$done = 1;
}
}
sub onConnect {
undef $done;
}
sub onUnload {
Plugins::delHooks($hooks);
}
return 1;
# ============================
# cmdOnLogin v.1.0.0
# ============================
# Licensed by hakore (hakore@users.sourceforge.net) under GPL
#
package cmdOnLogin;
use strict;
use Globals;
my $done;
Plugins::register('cmdOnLogin', 'automatically do a command on login', \&onUnload);
my $hooks = Plugins::addHooks(
['Network::serverConnect/char', \&onConnect],
['AI_pre', \&onAI]
);
sub onAI {
if (!$done && $config{cmdOnLogin}) {
Commands::run($config{cmdOnLogin});
$done = 1;
}
}
sub onConnect {
undef $done;
}
sub onUnload {
Plugins::delHooks($hooks);
}
return 1;