camp on specific tell

Macro requests from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

zirnek
orc pawn
orc pawn
Posts: 17
Joined: Wed Aug 21, 2002 5:13 pm

camp on specific tell

Post by zirnek » Tue Sep 16, 2003 1:05 pm

How can I make MQ camp when i get a tell to do so? Getting confused looking around with what to use for #chat tell

User avatar
Curious
a ghoul
a ghoul
Posts: 88
Joined: Wed Aug 27, 2003 5:19 am

Post by Curious » Tue Sep 16, 2003 10:45 pm

Code: Select all

#event CampTime "Joe tells you, 'camp'"
...
Sub Event_CampTime
   /sit
   /sendkey down ctrl
   /press x
   /sendkey up ctrl
/endmacro

zirnek
orc pawn
orc pawn
Posts: 17
Joined: Wed Aug 21, 2002 5:13 pm

Post by zirnek » Wed Sep 17, 2003 2:38 am

Got it, ty for your help.

renagade8
orc pawn
orc pawn
Posts: 28
Joined: Sat Oct 19, 2002 9:17 pm

for the event chat

Post by renagade8 » Wed Sep 17, 2003 1:25 pm

Code: Select all

#chat tell
....
Sub Event_Chat
   /if "$p2"=="camp" {
      /sit
      /camp
     /endmacro
   }
can also do this to check if the right person sent the tell
for example if you just want joe to tell you to camp then,

Code: Select all

#chat tell
....
Sub Event_Chat
   /if "$p1"=="Joe" {
      /if "$p2"=="camp" {
         /sit
         /camp
         /endmacro
      }
   }

-ren

GoatFoot
a lesser mummy
a lesser mummy
Posts: 68
Joined: Fri Jan 17, 2003 1:48 am

Might want to unload.

Post by GoatFoot » Wed Sep 17, 2003 5:04 pm

Code: Select all

#chat tell
.
.
.
Sub Event_Chat
  /if "$p1"=="Joe" /if "$p2"~~"camp now" {
    /if $char(state)!=SIT /sit
    /camp
    /unload
  }
/return

Just_Another
decaying skeleton
decaying skeleton
Posts: 5
Joined: Sun Nov 30, 2003 11:14 am

Post by Just_Another » Mon Aug 09, 2004 10:00 am

anyone can update this so it works? :)