Code:
SetActiveWindow Dark Age of Camelot, Copyright © 2001-05 Mythic Entertainment, Inc.
Constants
switch = false
End
Procedure End When {GlobalKeys} contains 114
ClearGlobalKeys
SetConst $switch = false
end
Procedure start When {GlobalKeys} contains 113
ClearGlobalKeys
SetConst $switch = true
end
While 1=1
if $switch = true
ProcessMessages // Checks for end
Keys 5
Delay 2000
ProcessMessages // Checks for end
Keys 6
Delay 2000
ProcessMessages // Checks for end
Keys 7
Delay 2000
ProcessMessages // Checks for end
Keys 8
Delay 2000
ProcessMessages // Checks for end
end
delay 500
ProcessMessages //checks for start
end
Nothing will happen yet, but as soon as you press F2 the macro will switch chants every two seconds.
At the moment, the keys being pressed are five, six, seven and eight, but its easily extesible to press more buttons.
If you dont want to switch automatically anymore, for whatever reason like chatting, press F3.
The program doesnt close at any time, you just press F2 again and it starts to do its work.
This is about how your qb should look like.
[img]text2schild.php?smilienummer=1&text=OMG' border='0' alt='OMG' />






