cleric.mac New Basic Cleric bot.

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

blacrain
decaying skeleton
decaying skeleton
Posts: 5
Joined: Tue Jul 29, 2003 11:22 pm

Post by blacrain » Tue Jul 29, 2003 11:35 pm

Wanna point out the obvious :D, the original follow command doesn't make sure you're standing..

Code: Select all

Sub Do-follow 
   /target $MasterName 
   /stand
   /face 
   /follow 
   /tell $MasterName Autofollow on %t. 
/return
might make it a little more believable than your cleric spinning on his buttox.

VesperKnight
orc pawn
orc pawn
Posts: 29
Joined: Tue Jul 29, 2003 5:37 am

Post by VesperKnight » Tue Jul 29, 2003 11:51 pm

to Mongo any anyone else who's modified the original script to be more perfect and functional. I'd really appreciate it if you could post your full new version of it.

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Wed Jul 30, 2003 10:01 am

VesperKnight wrote:to Mongo any anyone else who's modified the original script to be more perfect and functional. I'd really appreciate it if you could post your full new version of it.
I wouldn't. I read every post on these boards, and I HATE having to scroll past that damned too-long macro every day, sometimes 2-3 times a day.

thepaan
decaying skeleton
decaying skeleton
Posts: 8
Joined: Wed Jul 30, 2003 8:35 am

Post by thepaan » Wed Jul 30, 2003 10:11 am

is it possible to add a sub in here so the bot will automatically accept trade windows once they are green (like if i want to give her more dots)?
i should have been a gnome

Anonymous_idiot_00
decaying skeleton
decaying skeleton
Posts: 1
Joined: Wed Jul 30, 2003 11:22 am

Post by Anonymous_idiot_00 » Wed Jul 30, 2003 11:29 am

Hello All, i just finished inserting a little new function, basicaly, it allows me to grant the use of the Bot to another user , nothing great, but i think someone may find it usefull , please, its my first attempt, so be gentle to me and avoid to point out how bad my script suck ;)

In the Varset section on the Main , insert :

Code: Select all

   /varset a(1,34) newmaster
then append to the end of the file :

Code: Select all

Sub Do-newmaster 
   
   /tell $MasterName Transfering control to $p1 master
   /delay 6
   /varset MasterName $p1
   /delay 5
   /tell $MasterName You are my new Master, $MasterName
/return
Seems to work fine ;)

Now i also have a little question , hot i set the Auto sit featire on ? i would like my bot to sit down after casting a spell , i tryed to manualy set the SitAfterCast value to 1 , but it doesnt work ... any help ?

VesperKnight
orc pawn
orc pawn
Posts: 29
Joined: Tue Jul 29, 2003 5:37 am

Post by VesperKnight » Wed Jul 30, 2003 3:13 pm

I've been trying to get something to work all night with no luck at all.

I am trying to make it so the bot itself (it wouldn't be a real bot in this case but more like a lazy cleric watching as his cleric autoheals and follows other commands) could issue the commands?

it seems that whatever text I write never gets captured. I've tried to change the #chat channel to chat or say (since I can't send myself tells obviously). And I've tried playing with the MasterName and changing that. And whatever I do it still won't let me issue my own commands.

Does anyone have any idea how to make that possible?

MegaHertz
a lesser mummy
a lesser mummy
Posts: 35
Joined: Mon Dec 16, 2002 5:13 pm

Post by MegaHertz » Wed Jul 30, 2003 10:06 pm

Now i also have a little question , hot i set the Auto sit featire on ? i would like my bot to sit down after casting a spell , i tryed to manualy set the SitAfterCast value to 1 , but it doesnt work ... any help ?
i suck at scripting but I had plaz tell me how to do it.

Code: Select all

Add this in the command list

 

|||||||||||||||||||||||Personal Commands||||||||||||||||||||||||||||||||| 

  

   /varset a(1,34) autosit

|||||||||||||||||||||||Personal Commands||||||||||||||||||||||||||||||||| 

 

 

Add this sub somewhere at the end:

Sub Do-autosit

   /if n $strlen("$p1")<=0 { 

      /tell $MasterName Autosit=$SitAfterCast

      /return 

   } 

   /if $p1=="off" /varset SitAfterCast 0 

   /if $p1=="on" /varset SitAfterCast 1 

   /tell $MasterName Autosit=$SitAfterCast

/return

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

Travelling Cleric

Post by wilddoug » Sun Aug 03, 2003 11:20 am

Here's some things I've added. I two-box with a mage often, and travelling requires invis. It's always an issue having invis fall on the cleric and my mage not know... so here are the changes, place them in the appropriate spots....

(Add in the events definitions area)

Code: Select all

#Event Appear "You appear."
#Event StartAppear "You feel yourself starting to appear."
#Event Invis "You vanish."

(Add to the bottom of the script)

Code: Select all

Sub Event_Invis
   /tell $MasterName I am invisible.
/return

Sub Event_Appear
   /tell $MasterName I am no longer invisible.
/return

Sub Event_StartAppear
   /tell $MasterName I am becoming visible.
/return

dawnoffatex
a lesser mummy
a lesser mummy
Posts: 41
Joined: Sun Aug 10, 2003 8:24 pm

Post by dawnoffatex » Tue Aug 19, 2003 10:18 am

Ok, newb question , but im still trying to learn, if i was to take the original macro posted here by grimjack, unmodified, what would the cleric be doing? Auto healing and what not? How does it define chars etc, and is it functional? I think im finally starting to grasp how all of these things work, and perhaps if I knew what it did, I could look through the macro itself and see what defines the actions.. send me a PM if you want :) thanks