BeBot - An Anarchy Online and Age Of Conan chat automaton
Development => Coding and development discussion => Topic started by: Margon on November 17, 2009, 12:34:54 am
-
hi, i need a function to update the whois table which can do:
- if the player dont exist in the whois db -> insert him
- online status from a player
i dont want to check every single player with !whois <xyz>
$this -> bot -> core("whois") -> lookup($player);
dont work as i wish :(
-
no ideas?
i need to update the online state of some players for an overview
-
lookup is the only way to force a whois update.
For online stuff check the online core, there you can get the online status of members.
For the online status of random people you'll have to use something like the is module.
-
the players i want to check are not members or in a group, i need it for the kos-list
i want to check the online status from the player on the kos list
-
the is function often get a timeput, and its to slow
i need a fast method to ceck the online status without adding the players to the notify list
-
There is none, only way is to add them as buddies and catch the event - which is basically what !is does (there are a couple of checks for safety there too).
-
how many buddys are possible to add?
are buddys automaticly users with member rights?
-
bump
i need a way to add player on the buddy list but without giving him any rights or sending him tells (xy added you to the memberlist..blabla)
-
!settings Autouseradd
Settings for Autouseradd
Enabled: On
Description: Should users be added to the Bot?
Change to: [ On | Off ]
Notify: On
Description: Should the User be Notified that he was added to the Bot?
Change to: [ On | Off ]
Use the command above and you can turn off the notification. Can't find a setting for new users defaulting to guest instead of member, maybe someone else knows if such a setting exitsts.
~Kyr
-
bump
i need a way to add player on the buddy list but without giving him any rights or sending him tells (xy added you to the memberlist..blabla)
i got it! but now a have a new question^^
how can i use a function from an other module?
$this -> bot -> module("modulename") -> function($xxx); ?