BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.3 support => Topic started by: Nytridr on April 29, 2007, 06:27:47 am

Title: is_member() error
Post by: Nytridr on April 29, 2007, 06:27:47 am
I am getting an error in this line

Code: [Select]
if (($this -> bot -> is_member($name) == 1) && ($this -> announce))

Fatal error: Call to undefined method Bot::is_member() in
Title: Re: is_member() error
Post by: Alreadythere on April 29, 2007, 10:00:13 am
is_member() has been removed as outdated.

To check for guest and higher access replace the line with
Code: [Select]
if (($this -> bot -> security -> check_access($name, "GUEST")) && ($this -> announce))
SimplePortal 2.3.7 © 2008-2024, SimplePortal