Last PM

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Message
Author
pastnine
Noob
Noob
Posts: 1
Joined: 22 Feb 2011, 06:18
Noob?: Yes

Last PM

#1 Post by pastnine »

Good day. I have problem using the $.lastPm variable.. i configured a macro which will reply to the person who PMed him..
it' supposed to trigger:
do pm $.lastPm what?

but when i check it.. openkore core says syntax error in function pm
usage pm (username) (message)

..it seems that it wont read the variable.. i tried placing "$.lastpm".. but still wont work,.. also tried placing "\" before the $. but wont work either..

hmm0000
Noob
Noob
Posts: 4
Joined: 02 Apr 2011, 03:02
Noob?: Yes

Re: Last PM

#2 Post by hmm0000 »

id like to help you, can you try to post your macro..

setem50sen
Noob
Noob
Posts: 4
Joined: 30 Jan 2010, 15:03
Noob?: No

Re: Last PM

#3 Post by setem50sen »

try to use this # do pm "$.lastMatch1" #

setsunaseiei
Human
Human
Posts: 38
Joined: 17 May 2011, 07:09
Noob?: No

Re: Last PM

#4 Post by setsunaseiei »

It should be

Code: Select all

do pm $.lastpm
inside the macro block. :D
Be careful with capitalization in your variables.
オペンコレ!

Locked