Here is my line of stuff in my macro. txt
Code: Select all
macro restockAlert {
$itemName = Awakening Potion
$amount = @invamount ($itemName)
if ($amount < 1) do eval Utils::Win32::playSound ('C:\sounds\Please_Do_Restock_Your_AwakeningPotion.wav')
}
macro.pl 6744
Macro::Automacro 6760
Macro::Script 6782
Macro::Parser 6759
Macro::Utilities 6812
Macro::Data 6753
No Errors from the debugger viewer , but i assumed the conditional is not work with the play sound syntax
Because if i change to the 'Chat in game' with syntax do c something, it work
Here is my reference : http://openkore.com/index.php/Macro_plugin
And if this case is resolved , i want to make this to be auto macro so i hope some one could help me
I will be happy if somebody provide the automacro too
Thank You ! :D