Need like 3 minutes of a pro's time.

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

skysurf
a lesser mummy
a lesser mummy
Posts: 52
Joined: Fri Aug 15, 2003 1:54 am

Need like 3 minutes of a pro's time.

Post by skysurf » Sat Nov 22, 2003 1:34 am

Been working on this stupid macro for like 2 hours now, and obviously im too slow in da hed to do this macro stuff =/

Anyways, could someone make me a simple macro that casts Cannibalize IV, and after each casts checks health, and casts torpor if im below 30 percent health, or if im over 90 mana just do an /endmacro

Thanks alot.

I really feel dumb trying to do this stuff /cry

This was the best I got.................


Sub Main

/zapvars
:Loop

/call CheckKill
/call CheckMana
/call CheckHealth

/goto :Loop






|==============================================

Sub Canni

/cast 4
/delay 3
/return

|==============================================
Sub CheckMana
/if n $char(mana,pct)<90 /call Canni
/return
|==============================================
Sub CHeckHealth
/if n $char(hp,pct)<30 /call Torpor
/return
|==============================================
Sub Torpor
/target myself
/cast 4
/delay 65
/return
|==============================================
Sub CheckKill
/if n $char(mana,pct)>90 /endmacro


And it didn't work =/

Sky the smert 1

in_training
Craptastic
Posts: 115
Joined: Fri Oct 10, 2003 8:25 am

Post by in_training » Sat Nov 22, 2003 3:10 am

Code: Select all

| Canni.mac
| Usage: /macro canni.mac
| Canni Script.
| Canni spell _MUST_ be in Gem slot 4.
| Spell: torpor _MUST_ be Memmed in a spell gem.

Sub Main 

	/zapvars 
:Loop 

	/call CheckKill 
	/call CheckMana 
	/call CheckHealth 
	/goto :Loop 
/endmacro

Sub CheckKill 
	/if n "$char(mana,pct)">="89" {
	/echo Mana is over 90 Percent, Ending Macro
	/endmacro 
	}
	
/return
	
Sub CheckMana 
	/if n "$char(mana,pct)"<="89" {
		/if "$char(state)"!="STAND" {
			/stand
		}
	/cast 4 
	/delay 3s 
	/return 
	} 
/return 

Sub CheckHealth 
	/if n "$char(hp,pct)"<="30" {
		/if "$char(state)"!="STAND"{
			/stand
		}
	/press F1 
	/cast "Torpor" 
	/delay 6s 
	
}
/return 


/endmacro
I think.. I don't have access to a shaman to test this. Sorry.
If it's all messed up, I'll make a Shaman, just to level it to canni level, and make one that DOES work for ya.
PS. I'm not a pro. heehh

in_training
Craptastic
Posts: 115
Joined: Fri Oct 10, 2003 8:25 am

Post by in_training » Sat Nov 22, 2003 9:45 am

Tested with my Shaman, It works.

skysurf
a lesser mummy
a lesser mummy
Posts: 52
Joined: Fri Aug 15, 2003 1:54 am

Post by skysurf » Sat Nov 22, 2003 9:53 pm

OH TANKIES TANKIES TANKIES!


/MUCH LUV!

/hug


Sky :)

in_training
Craptastic
Posts: 115
Joined: Fri Oct 10, 2003 8:25 am

Post by in_training » Sun Nov 23, 2003 8:07 pm

/me says out of character, 'WTT Phat Macros for Hawt Cyb0rz, leave a PM, Kthx."


hah. I am glad that I could help.

wilddoug
orc pawn
orc pawn
Posts: 12
Joined: Tue Jul 01, 2003 11:18 am

Post by wilddoug » Sat Dec 06, 2003 10:23 pm

Code: Select all

| Canni.mac
| Usage: /macro canni.mac
| Canni Script.
| Canni spell _MUST_ be in Gem slot 4.
| Spell: torpor _MUST_ be Memmed in a spell gem.

Sub Main 

/zapvars 
:Loop 

    /call CheckKill 
    /call CheckMana 
    /call CheckHealth 
    /goto :Loop 
/endmacro

Sub CheckKill 
/if n "$char(mana,pct)">="89" {
    /echo Mana is over 90 Percent, Ending Macro
    /endmacro 
}
	
/return
	
Sub CheckMana 
/if n "$char(mana,pct)"<="89" {
    /stand
    /cast 4 
    /delay 3s 
} 
/return 

Sub CheckHealth 
/if n "$char(hp,pct)"<="30" {
    /stand
    /target myself
    /cast "Torpor" 
    /delay 6s 
}
/return 

/endmacro
Just a little cleanup, since I totally stole this code for my usage. :)
- Replaced the /stand bits with something a little more staightforward.
- Added the /cleanup before the /press F1... (if you have a pet up, there is a good chance you'll cast Torpor on your pet.)
- Edit: GrimJack's suggestion of /target myself -- which I never knew about. Very Cool !!
Last edited by wilddoug on Sun Dec 07, 2003 10:54 am, edited 1 time in total.

User avatar
grimjack
Macro Author
Macro Author
Posts: 525
Joined: Thu Nov 07, 2002 6:51 am
Contact:

/target

Post by grimjack » Sun Dec 07, 2003 5:34 am

Instead of f1 it's a little safer to use /target myself.

Thanks
GrimJack
When they come to me, they're in trouble, or they want some. I bust people out of prison, hunt down vampires, fight alien gods -- All the fun jobs people are too squeamish or too polite to do themselves.

Call me a mercenary. Call me an assassin. Call me a villain. I am all that and more.

My name's John Gaunt, but out on the streets of Cynosure, I am called...
GrimJack