PDA

View Full Version : Macro


arjarjar
Friday, 29th July 2005, 21:48
Hi,

I have an idea for a macro but haven't got a clue if it will work

Here the macro:


/script
texture,name,isActive,isCastable =GetShapeshiftFormInfo(1);
if isActive
then
CastSpellByName("Charge(Rank 1)");
else
( CastSpellByName("Battle Stance()"); CastSpellByName("Charge(Rank 1); )

CastSpellByName("Bloodrage(Rank 1);
CastSpellByName("Thunderclap(Rank 1);
CastSpellByName("Beserkerstance();
CastSpellByName("BeserkerRage(Rank 1);
CastSpellByName("DemorolizingShout(Rank 1);
CastSpellByName("WhirlWind(Rank 1);
end;


What it should do is check if in Batle stance, if so Charge, else Go to Batle stance and Charge, then cast bloodrage, thunderclap, go to Beserker stance, cast beserkerrage, cast demoshout, whirlwind

For this example all rank 1 and providing enough rage available, should be in this order

arjarjar
Friday, 29th July 2005, 23:12
Would like to use function calls but dont know how

Something like

/script Test

Function Test()
Hello
end

anyone any experience here?

Amithral
Friday, 29th July 2005, 23:18
you cant, because you need a break between the skills and you cant get that in a macro or UI because that would make Bot'ing very easy!

Fusion
Saturday, 30th July 2005, 00:06
you cant, because you need a break between the skills and you cant get that in a macro or UI because that would make Bot'ing very easy! yep

TheIcon
Saturday, 30th July 2005, 08:42
Blizzard like for players to take part in the game and making an almost fully automated combat macro is not something they take lightly. ;)

Nyana
Saturday, 30th July 2005, 09:26
Broken I.W.I.N. button FTW :D

Deathwatch
Sunday, 31st July 2005, 02:31
As others said - that is not possible. Besides there not being any sleep/break/wait/etc functionality, you are not able to cast multiple spells with one macro.

It would be possible to make a script that'll cycle through the spells based on the keypresses though, but that would defeat the purpose.

arjarjar
Monday, 1st August 2005, 12:18
It is not my intention to make a bot, First off all, it takes the fun out of the game, it is illegal and there are enough available if you want one.
Also did some searching and as long as you need to do some key pressing it doesn't count as a bot. (Don't want to get Kicked :D )

the idea basicly was to make a charge and get as much initial agro as possible without having to klick 10 buttons or so.

Also found "BigMacro" with this addon the 255 char limit is gone. They did this by calling functions from the main macro which are stored elsewere.

Second, you can make your own wait loop by using while ... do i=i+1 end
and just let it cicle till till it comes available then cast it and go on to next one, also same while loop, wait till available then cast etc.

Could make verry usable macro's this way.

But the question remains, are there people here with experience in making macro's?