genbot.mac Generic Bot macro for any class. V9.3 with ini

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Fri Apr 02, 2004 6:07 pm

Chaesar wrote:Try

Code: Select all

/tell dr00d snt spirit of wolf on <targetname>
You have to put the "on <targetname>" part and you cannot use me or yourself as a target like you can in some other commands. It has to be the character's name.

is were they postd 3 pages back how to cast a set spell on a target

User avatar
Undies
a ghoul
a ghoul
Posts: 94
Joined: Mon Oct 20, 2003 9:12 pm

Post by Undies » Fri Apr 02, 2004 8:55 pm

hmm, did another complete reinstallation and the problem fixed itself... no idea what was happening there...

sethric
orc pawn
orc pawn
Posts: 19
Joined: Fri Oct 04, 2002 12:34 pm

Post by sethric » Sat Apr 03, 2004 11:14 pm

I was curious, most people that use cleric bots, do you use Genbot, or MCS from Xylobot?

Pheph
a hill giant
a hill giant
Posts: 196
Joined: Thu Oct 09, 2003 8:15 pm

Post by Pheph » Sat Apr 03, 2004 11:25 pm

I stopped using Xylobot more than a year ago - it's just to cumbersome.

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Sat Apr 03, 2004 11:56 pm

genbot only way to go for cleric screw Xylobot.

Autodebuff only way to go for wizzie / shaman

Mortedamour
orc pawn
orc pawn
Posts: 28
Joined: Tue Jan 07, 2003 2:30 pm

Post by Mortedamour » Sun Apr 04, 2004 5:56 pm

Genbot is nice, But for the way I play my drood, Xylobot ownz. I use Genbot for every thing else.

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Rewrite

Post by LordGiddion » Thu Apr 08, 2004 3:15 pm

Ok just curious, who else is looking at rewriting this macro for MQ2Data?

Slugman
decaying skeleton
decaying skeleton
Posts: 9
Joined: Mon Feb 23, 2004 4:31 pm

Post by Slugman » Thu Apr 08, 2004 5:16 pm

When I type:

/macro genbot MasterName (with obviously the real name in there of the master)

I get the following error:

[MQ2] Advanced Pathing Not Available

Any ideas?

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Thu Apr 08, 2004 5:31 pm

Code: Select all

| 
| Uncomment the line below if you have advpath.inc 
|#include advpath.inc 
|
and make sure you have the newest advpath.inc inside your macro folder

Ehnal Seks
decaying skeleton
decaying skeleton
Posts: 2
Joined: Thu Apr 01, 2004 4:24 pm

Post by Ehnal Seks » Thu Apr 08, 2004 6:22 pm

i'm newb to this, do you save the advpath.inc as a text file? or how do you save as .inc

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Thu Apr 08, 2004 6:24 pm

.inc

And don't forget to change this:

Code: Select all

| 
| Uncomment the line below if you have advpath.inc 
|#include advpath.inc 
|
To this:

Code: Select all

| 
| Uncomment the line below if you have advpath.inc 
#include advpath.inc 
|

Slugman
decaying skeleton
decaying skeleton
Posts: 9
Joined: Mon Feb 23, 2004 4:31 pm

Post by Slugman » Fri Apr 09, 2004 11:33 am

Awesome. Running now. Now some followup questions....

Is there a syntax document listed somewhere?

I have a cleric outside of group that I would like to tell it to:

/tell clericguy heal_my_target
/tell clericguy buff_me_with_v

etc.

any good place to get this stuff?

thanks in advance.

AEbard
a lesser mummy
a lesser mummy
Posts: 43
Joined: Fri Jan 30, 2004 10:53 am

Post by AEbard » Fri Apr 09, 2004 11:35 am

located in your personal.inc

Slugman
decaying skeleton
decaying skeleton
Posts: 9
Joined: Mon Feb 23, 2004 4:31 pm

Post by Slugman » Fri Apr 09, 2004 11:54 am

Can you paste a clip of it? I am looking thru that and don't see a syntax section. I'm sure I'm being a dope and I apologize in advance.

I tried:

/tell clericguy snt Supernal Remedy on dyingguy to no avail.

what does the snt thing mean as well.

thanks!

Boredbard
a ghoul
a ghoul
Posts: 89
Joined: Thu Nov 27, 2003 11:49 am

Post by Boredbard » Fri Apr 09, 2004 1:19 pm

Code: Select all

|personal.inc 

...


Sub PersonalCommands 
   /varset Commands(0,0) stick 
   /varset Commands(0,1) fire 
   /varset Commands(0,2) ice 

...

   /varset Commands(0,50) yaulp 
  [color=red] /varset Commands(0,51) sneck    | This is the new commanddeclaration. [/color]
   /varset ArrayPers [color=red]51   [/color]         | This is the new max of the array.  Be sure to change this or your new command wont work.

...

Sub Do-[color=red]sneck[/color] 
   /if $defined(Param1)==FALSE { 
      /assist @MasterName 
   } else /if "@Param1"=="me" { 
      /target pc @MasterName 
   } else /if "@Param1"=="yourself" { 
      /press F1 
      /if n $char(id)!=$target(id) /press F1 
   } else /if "@Param1"=="$char(name)" { 
      /press F1 
      /if n $char(id)!=$target(id) /press F1 
   } else { 
      /declare ParamString local 
      /declare ParamCount local 
      /varset ParamCount 2 
      /varset ParamString "@Param1" 
      :Do-[color=red]sneck[/color]ParamLoop 
         /if $defined(Param$int(@ParamCount))==TRUE { 
            /varcat ParamString " @Param$int(@ParamCount)" 
            /varadd ParamCount 1 
            /goto :Do-[color=red]sneck[/color]ParamLoop 
         } 
      /target @ParamString 
   } 
   /call Delay 5 
   /call ChatOut 5 GROUP [color=red]"Sini neck on $target(name,clean)"[/color]
   /call [color=red]item "Pendant of Malosini"[/color] 
   /if n @SitAfterCast==1 /varset SitTimer @DelayBeforeSit 
/return 

Change the stuff in red to whatever and you're well on your way.