Macro does not recognize the name

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

deeh16
Noob
Noob
Posts: 19
Joined: 14 Dec 2008, 06:07
Noob?: Yes

Macro does not recognize the name

#1 Post by deeh16 »

I am making a macro for giving certain supply for my bot then changechar and relog

but when it comes to this 1 character it always goto :end

and so i realized that his name has a pound key "#" on it.,

the question is how can i make it recognized by the kore?

ive tried putting backslash on it, but it dosent work or ive done it wrong?

heres the name

I Am #4


hope ive explained it well,
just ask if there's any clarification


thanks in advance and More Power!
Image
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Macro does not recognize the name

#2 Post by EternalHarvest »

deeh16 wrote:the question is how can i make it recognized by the kore?
Nothing wrong with kore, it's macro plugin's problem. You can remove comments stripping from it.
deeh16
Noob
Noob
Posts: 19
Joined: 14 Dec 2008, 06:07
Noob?: Yes

Re: Macro does not recognize the name

#3 Post by deeh16 »

EternalHarvest wrote:
deeh16 wrote:the question is how can i make it recognized by the kore?
Nothing wrong with kore, it's macro plugin's problem. You can remove comments stripping from it.
is theres any other solution other than removing the comments strip?

if non, then how will i do it? removing the comment stip?
Image
Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

Re: Macro does not recognize the name

#4 Post by Kaspy »

[EN]
I'm not sure... Try putting quotes (" ")

[PT-BR]
Não tenho certeza... Tente colocando entre aspas (" ")
Image
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Macro does not recognize the name

#5 Post by EternalHarvest »

KeplerBR wrote:I'm not sure...
What about checking first?

Code: Select all

	while (<$fp>) {
		$. == 1 && s/^\x{FEFF}//; # utf bom
		s/(.*)[\s\t]+#.*$/$1/;	# remove last comments