update the macro first to trigger this...
this update will increase the power of your eval... and it will help you a lot...
thanks for DInvalid and piroJOKE for sharing this macro code...
Code: Select all
--- e:\svn-openkore\macro\trunk\Macro\Data.pm Sat Sep 01 09:27:13 2007
+++ c:\333333333\Data.pm Mon Jan 14 17:05:27 2008
@@ -35,5 +35,7 @@
'hook' => 1, # check: openkore hook
'priority' => 1, # option: automacro priority
'exclusive' => 1, # option: is macro interruptible
'eval' => 1 # check : eval
);
Code: Select all
--- e:\svn-openkore\macro\trunk\Macro\Automacro.pm Sat Sep 01 09:27:13 2007
+++ c:\333333333\Automacro.pm Mon Jan 14 17:04:13 2008
@@ -321,4 +321,10 @@
}
+# checks for eval
+sub checkEval {
+ return eval $_[0];
+}
+
+
# releases a locked automacro ##################
sub releaseAM {
@@ -425,4 +431,6 @@
next CHKAM if (defined $automacro{$am}->{class} && !checkClass($automacro{$am}->{class}));
next CHKAM if (defined $automacro{$am}->{notMonster} && !checkNotMonster($automacro{$am}->{notMonster}));
+ next CHKAM if (defined $automacro{$am}->{eval} && !checkEval($automacro{$am}->{eval}));
+
foreach my $i (@{$automacro{$am}->{monster}}) {next CHKAM unless checkMonster($i)}
foreach my $i (@{$automacro{$am}->{aggressives}}){next CHKAM unless checkAggressives($i)}
while sitting you will do doridori...
Code: Select all
automacro doridori {
eval $::char->{sitting} == 1 && !AI::inQueue("macro")
sp < 90%
timeout 2
call {
do doridori
}
}