@eval($::pet->{hungry})

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

Moderator: Moderators

smeva
Noob
Noob
Posts: 1
Joined: 11 Apr 2013, 05:16
Noob?: No

@eval($::pet->{hungry})

#1 Post by smeva »

anyone know how to make automacro support pet value?

automacro pettest {
location prontera
call {
$t = @eval($::pet->{hungry})
log $t
}
timeout 10
}

i want to log the pet hungry value for some test, and got the following error message
[macro] pettest.call error: error in 0: @eval($::pet->{hungry}) failed

another success case like char value
$t = @eval($::char->{name})
Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: @eval($::pet->{hungry})

#2 Post by Raider »