-
Please help!
Could someone tell me why this isn't working...it used to work.
def get_up
if GameObj.pcs.status.include.find{|down| down.status =~ /sitting|kneeling|prone/ && down.status != /webbed|calmed|stunned/ && down.noun =~ /Glaves|Ossirian|Omind/ }
down = GameObj.pcs.status.include.find{|down| down.status =~ /sitting|kneeling|prone/ && down.status != /webbed|calmed|stunned/ && down.noun =~ /Glaves|Ossirian|Omind/ }
fput "pull ##{down.id}"
end
end
loop {
pause 1
get_up
}
--- Lich: getup active.
--- Lich: error: undefined method `status' for #<Array:0x0000000013177c18>
getup:7:in `get_up'
getup:15:in `block in _script'
--- Lich: getup has exited.
If someone could help me out that would be amazing!
Last edited by Glaves; 06-30-2019 at 03:19 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules