Moderator: MacroQuest Developers
Code: Select all
#event CampTime "Joe tells you, 'camp'"
...
Sub Event_CampTime
/sit
/sendkey down ctrl
/press x
/sendkey up ctrl
/endmacro
Code: Select all
#chat tell
....
Sub Event_Chat
/if "$p2"=="camp" {
/sit
/camp
/endmacro
}
Code: Select all
#chat tell
....
Sub Event_Chat
/if "$p1"=="Joe" {
/if "$p2"=="camp" {
/sit
/camp
/endmacro
}
}
Code: Select all
#chat tell
.
.
.
Sub Event_Chat
/if "$p1"=="Joe" /if "$p2"~~"camp now" {
/if $char(state)!=SIT /sit
/camp
/unload
}
/return