New formatts?

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

icepick912
orc pawn
orc pawn
Posts: 14
Joined: Tue Jan 21, 2003 4:07 pm

New formatts?

Post by icepick912 » Mon Dec 08, 2003 7:25 pm

Could anyone direct me to the area in which i can find out the new formats? i mean like the outdated macros, and the enwer ones, i need to fix my old ones, and am looking for what was changed in the way they do the macros

example:

Code: Select all

Sub Event_Chat 
/if $p1 "owner" { 

   /if $arg(1,"$p2")==Heal me { 
      /sit off 
      /target $p1 
      /cast 4 
      /reply Healing $target(name) 
      /delay 5s 
      /varset v2 == 1 

   } 
Was wondering where i could find out the new commands to replace the $p1 and such... thnx in advance

icepick912
orc pawn
orc pawn
Posts: 14
Joined: Tue Jan 21, 2003 4:07 pm

Post by icepick912 » Mon Dec 08, 2003 8:24 pm

Alright after reading plazmats post, i still dont get it, but i did get it workin, guess ill relook over it over and over till i get it,

Code: Select all

Sub Event_Chat(ChatType,Sender,ChatText)  
/if @Sender=="owner" { 

   /if "@ChatText"=="Heal" { 
      /sit off 
      /target owner 
      /cast 4 
      /reply Healing $target(name) 
      /delay 5s 
      /varset v2 == 1 

   } 
thats what i got, heh if anyone could explane this to me, id be very appreciated, ive got how declare works, but im sketchy on how if i put

Code: Select all

#define owner "$target()"
Makes it to where i dont have to declare. owner before-hand...

also dont get what the whole

Code: Select all

Sub Event_Chat(ChatType,Sender,ChatText) 
means, i mean do i realy need the (ChatType,Sender,ChatText), and how does that work. is chattype,sender,chattext all commands built into the event_chat event? little sketchy on that also, any explanations would be great.

I have writen a few macros from the old one, so i understand those completly thnx.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon Dec 08, 2003 9:18 pm

Please do your best to post in the right place

thanks :)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0