Just trying to figure out an $arg command :)

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Draekz
a hill giant
a hill giant
Posts: 263
Joined: Thu Aug 01, 2002 6:07 pm
Location: Winnipeg, Manitoba, Canada

Just trying to figure out an $arg command :)

Post by Draekz » Tue May 06, 2003 10:52 am

Ok, im working off of cleric.mac (someones from here) i basically turned it into a druidpl macro.

Now what i'm thinking of trying to do is getting it so that, if the person who controls the druid bot sent him a tell saying "Heal Flinstone" it would target Flinstone (instead of the person who sent the tell) and heal him or buff him, etc etc.

Now i'll paste a little bit of code on here so you know what im trying to set up. I dont have the slightest Idea how to fit an $arg into there to make it select an alternate target (such as just targetting the player the controller named and buffing/healing it) :)

I've tried using search to find it but i dont know exactly what to search for. I've tried $ARG and chat and other things but i dunno what i should be looking for. Any help is appreciated :)

Thanks

Draekz

Code: Select all


| *** SLN *** 

   } else /if "$ChatCommand"=="skin" { 
     /target $p1 
     /stand 
     /r Skin Like Nature upon %T
     /call SpellSub 5 64 
     /sit 
     /press esc