Welcome, Guest. Please login or register.
Did you miss your activation email?
November 29, 2024, 06:22:18 am *

Login with username, password and session length
Pages: [1]
Print
Author Topic: Macro for next instance via a 9 instance list...  (Read 4092 times)
hardcoretank
Newbie
*
Posts: 38


View Profile
« on: June 05, 2016, 09:02:02 pm »

I built this macro for when i farm Frozenshadow.... as i jump between a ton of instances i found i often forgot which one i was in or which one was next in line... this macro however fixes that issue....


Code:
#turbo

Sub Main
/declare instancecheck   int outer  0
/declare instance1  string outer enter solo hardcoretank frozenshadow
/declare instance2  string outer enter raid hardcoretank frozenshadow
/declare instance3  string outer enter guild hardcoretank frozenshadow
/declare instance4  string outer enter raid chameleonn frozenshadow
/declare instance5  string outer enter guild chameleonn frozenshadow
/declare instance6  string outer enter raid wrand frozenshadow
/declare instance7  string outer enter guild wrand frozenshadow
/declare instance8  string outer enter raid britank frozenshadow
/declare instance9  string outer enter guild britank frozenshadow

:loop
/doevents
/goto :loop

#Event next "[MQ2] #*#nex#*#"
#Event next1 "[MQ2] #*#next#*#"


Sub Event_next
   /if (${instancecheck}==10) {
/varset instancecheck 0   
   }
/varcalc instancecheck ${instancecheck}+1
/echo test

/return
Sub Event_next1
   /if (${instancecheck}==1) {
/say ${instance1}
}
   /if (${instancecheck}==2) {
/say ${instance2}
}
   /if (${instancecheck}==3) {
/say ${instance3}
}
   /if (${instancecheck}==4) {
/say ${instance4}
}
   /if (${instancecheck}==5) {
/say ${instance5}
}
   /if (${instancecheck}==6) {
/say ${instance6}
}
   /if (${instancecheck}==7) {
/say ${instance7}
}
   /if (${instancecheck}==8) {
/say ${instance8}
}
   /if (${instancecheck}==9) {
/say ${instance9}
}
/return


Now the way to use this macro is seting all instances in top declare list as i have them shown.... then type "/echo next" and itll move you through that list starting at the top and working its way down.... if you dont have 9 instances fill the slots as you can.... what well happen when it gets to the ones that are not defined is it well just do nothing just keep saying next until it resets or edit at your own risk........
Logged

Pages: [1]
Print
Jump to:  

Recent

Stats

Members
  • Total Members: 6156
  • Latest: Rin1
Stats
  • Total Posts: 65127
  • Total Topics: 5066
  • Online Today: 298
  • Online Ever: 8678
  • (December 19, 2022, 02:32:09 pm)
Users Online
Users: 0
Guests: 279
Total: 279
TinyPortal v1.0 beta 4 © Bloc