[ASK] Help Me please, i need solution !

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

Moderator: Moderators

flintJr
Noob
Noob
Posts: 2
Joined: 15 Jul 2013, 19:39
Noob?: Yes

[ASK] Help Me please, i need solution !

#1 Post by flintJr »

Hellow all, this my first time i join openkore forum :D
i have problem and i want to ask something, please to clarify !
i play at Indonesia Ragnarok, just make you all know :D

and this is my problem, need to solve

automacro Pub {

console /You are sitting./i

call {

do look 4

do chat create "•SixtyNine• SHOP" 2

}

}

automacro getin {

console /(.*?) has joined the Chat Room/i

call {

$cht = $.lastMatch1

do c Welcome, $cht :)

pause

do c write "info" for the information

log $cht getin pub

}

}

from information above is blue, the bot should say nickname of player but, in the console and in the game the bot say [console] nickname

for example my nickname in game is "flint", and the bot say Welcome, [console] flint, what's wrong ? please to solved :D
Maseo84
Noob
Noob
Posts: 17
Joined: 14 Jun 2009, 07:06
Noob?: No

Re: [ASK] Help Me please, i need solution !

#2 Post by Maseo84 »

Try this BOLD should be defined before call, if not it is defined while running call.

----------------------------

automacro Pub {
console /You are sitting./i
call {
do look 4
do chat create "•SixtyNine• SHOP" 2
}
}

automacro getin {
console /(.*?) has joined the Chat Room/i
$cht = $.lastMatch1
call {
do c Welcome, $cht :)
pause
do c write "info" for the information
log $cht getin pub
}
}
Hello World!