Register for your free account! | Forgot your password?

Go Back   elitepvpers > General Gaming > General Gaming Discussion
You last visited: Today at 22:07

  • Please register to post and access all features, it's quick, easy and FREE!

 

[AutoIt] Tab key to cycle through hotbars

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2008
Posts: 113
Received Thanks: 56
[AutoIt] Tab key to cycle through hotbars

Make sure you set your hotbar changing bindings to CTRL instead of SHIFT, so it doesn't mess with you while you're sprinting.

Code:
Dim $a, $b, $c, $d, $e, $f, $g, $h
$b = InputBox( "Question", "How many different weapons to use?", "2" )
If $b = 2 Then
	$c = InputBox( "Question", "Hotbar number for Weapon 1?", "1" )
	$d = InputBox( "Question", "Hotbar number for Weapon 2?", "2" )
	HotKeySet( "{TAB}", "Tab1" )
ElseIf $b = 3 Then
	$c = InputBox( "Question", "Hotbar number for Weapon 1?", "1" )
	$d = InputBox( "Question", "Hotbar number for Weapon 2?", "2" )
	$e = InputBox( "Question", "Hotbar number for Weapon 3?", "3" )
	HotKeySet( "{TAB}", "Tab2" )
ElseIf $b = 4 Then
	$c = InputBox( "Question", "Hotbar number for Weapon 1?", "1" )
	$d = InputBox( "Question", "Hotbar number for Weapon 2?", "2" )
	$e = InputBox( "Question", "Hotbar number for Weapon 3?", "3" )
	$f = InputBox( "Question", "Hotbar number for Weapon 4?", "4" )
	HotKeySet( "{TAB}", "Tab3" )
ElseIf $b = 5 Then
	$c = InputBox( "Question", "Hotbar number for Weapon 1?", "1" )
	$d = InputBox( "Question", "Hotbar number for Weapon 2?", "2" )
	$e = InputBox( "Question", "Hotbar number for Weapon 3?", "3" )
	$f = InputBox( "Question", "Hotbar number for Weapon 4?", "4" )
	$g = InputBox( "Question", "Hotbar number for Weapon 5?", "5" )
	HotKeySet( "{TAB}", "Tab4" )
ElseIf $b = 6 Then
	$c = InputBox( "Question", "Hotbar number for Weapon 1?", "1" )
	$d = InputBox( "Question", "Hotbar number for Weapon 2?", "2" )
	$e = InputBox( "Question", "Hotbar number for Weapon 3?", "3" )
	$f = InputBox( "Question", "Hotbar number for Weapon 4?", "4" )
	$g = InputBox( "Question", "Hotbar number for Weapon 5?", "5" )
	$h = InputBox( "Question", "Hotbar number for Weapon 6?", "6" )
	HotKeySet( "{TAB}", "Tab5" )
ElseIf
	MsgBox( 0, "Alert", "You can only have 2-6 weapons." )
	Exit
EndIf

$a = 0

While 1
Sleep( 100 )
WEnd

Func Tab1( )
	$a = $a + 1
	If $a = 1 Then
		Send( "^" & $c )
	ElseIf $a = 2 Then
		Send( "^" & $d )
	ElseIf $a = 3 Then
		$a = 1
		Send( "^" & $c )
	EndIf
EndFunc

Func Tab2( )
	$a = $a + 1
	If $a = 1 Then
		Send( "^" & $c )
	ElseIf $a = 2 Then
		Send( "^" & $d )
	ElseIf $a = 3 Then
		Send( "^" & $e )
	ElseIf $a = 4 Then
		$a = 1
		Send( "^" & $c )
	EndIf
EndFunc


Func Tab3( )
	$a = $a + 1
	If $a = 1 Then
		Send( "^" & $c )
	ElseIf $a = 2 Then
		Send( "^" & $d )
	ElseIf $a = 3 Then
		Send( "^" & $e )
	ElseIf $a = 4 Then
		Send( "^" & $f )
	ElseIf $a = 5 Then
		$a = 1
		Send( "^" & $c )
	EndIf
EndFunc

Func Tab4( )
	$a = $a + 1
	If $a = 1 Then
		Send( "^" & $c )
	ElseIf $a = 2 Then
		Send( "^" & $d )
	ElseIf $a = 3 Then
		Send( "^" & $e )
	ElseIf $a = 4 Then
		Send( "^" & $f )
	ElseIf $a = 5 Then
		Send( "^" & $g )
	ElseIf $a = 6 Then
		$a = 1
		Send( "^" & $c )
	EndIf
EndFunc

Func Tab5( )
	$a = $a + 1
	If $a = 1 Then
		Send( "^" & $c )
	ElseIf $a = 2 Then
		Send( "^" & $d )
	ElseIf $a = 3 Then
		Send( "^" & $e )
	ElseIf $a = 4 Then
		Send( "^" & $f )
	ElseIf $a = 5 Then
		Send( "^" & $g )
	ElseIf $a = 6 Then
		Send( "^" & $h )
	ElseIf $a = 7 Then
		$a = 1
		Send( "^" & $c )
	EndIf
EndFunc



Penakle is offline  
Thanks
1 User
Reply



« Previous Thread | Next Thread »

Similar Threads
Butterfly bot -> How tu use Mana Cycle & Healing orbit
Hey guys i have a question i have a bard/cleric and i dont want to buy MP pots and so i want to buff me everytime with mana cycle but...
25 Replies - SRO Foreign Hacks, Bots, Cheats & Exploits
Your Server Memory Usage and CPU Cycle
Here are mine: http://i260.photobucket.com/albums/ii10/uniquepvpers/process.png Post yours below!
30 Replies - CO2 PServer - Discussions / Questions
Cycle-Guide: Mutilate-DPS im PVE
Im Schurkenforum tauchen fast tägliche immer wieder Fragen auf, die den optimalen Cycle für Mutilate im Raid betreffen. Es sind oft Leute zur Stelle,...
0 Replies - WoW Guides & Templates



All times are GMT +1. The time now is 22:07.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.