[help] how to create and delete characters by macro

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

Moderator: Moderators

moonshinex
Noob
Noob
Posts: 1
Joined: 28 Feb 2013, 23:12
Noob?: No

[help] how to create and delete characters by macro

#1 Post by moonshinex »

I 've read lots of posts about creating and deleting char; however, my macro still can't work :<
I just post the "delete" part becoz i think they're same problems.

-----------------------------------------------------------------------------------------------------------------------
automacro delete {
hook charSelectScreen
exclusive 1
run-once 1
call deleting
}
macro deleting {
pause 3
$email = XXXXXX
$login = 4
do eval $::messageSender->sendCharDelete($::chars[4]{charID}, '$email');$::AI::temp::delIndex = 4;$::timeout{'charlogin'}{'time'} = time;
pause 3
do eval $::timeout{'charlogin'}{'time'} = time;
pause 3
call create
}
------------------------------------------------------------------------------------------------------------------------
It stuck in the charselectscreen.
Even if I set config.txt char to 6 it still stuck.
What should I add to let it work?
thank you.

...................................................................................
Image
(I'm sorry that I don't know how to change my openkore to English version)

0 slot_0
1 slot_1
2 slot_2
3 slot_3
4 slot_4
5 create a new character
6 delete a character
---------------------------------------------
Please choose a character or an action.
---------------------------------------------
Character selection :
Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: [help] how to create and delete characters by macro

#2 Post by Raider »

Do you have a release command, because I see you use the run-once 1 condition?