BeBot - An Anarchy Online and Age Of Conan chat automaton

Development => Module Requests => Topic started by: Foxy on April 19, 2006, 08:39:34 am

Title: Logon, Invite
Post by: Foxy on April 19, 2006, 08:39:34 am
I have a Bot - AOPVPBOT used on RK1

Last time i ran bot i placed on auto invite all, but had loads of people moan at me saying they didnt want it.

Ive been playing around with this:

Code: [Select]
$result = select * from invitelist where name='" .
$who . "'... if (!empty($result))...

But my php skills are not amazing and cant work out how to do..

2 modules i would like are:
1) auto invite for users that want auto - Like HELLCOM

2) every user that logs on even if dont join bot gets a tell with News link and a welcome msg that can be changed, so for example if had pvp event planned at wtf at weekend each member would know without joining bot.

2^^^ like http://bebot.link/index.php/topic,194.0.html  but for logon not pgroup
Title: Re: Logon, Invite
Post by: Foxy on April 19, 2006, 12:13:41 pm
2)  using Login msg so now this is ok..


Just need auto invite like hellcom
Title: Re: Logon, Invite
Post by: Naturalistic on June 20, 2006, 07:54:15 pm
A simple auto-invite, inside AutoInv.php, at the bottom with buddy( ), just have:

function buddy($name, $msg)
{
if ($msg == 1)
$this -> bot -> aoc -> privategroup_invite($name);
}

If you're wanting on/off, make an option on the members tables, or raidtables, whereever. Then when someone logs on, compare if they should be auto-invited, if set to 1, invite them, if 0, don't.

Hope that helps.
Title: Re: Logon, Invite
Post by: jjones666 on June 20, 2006, 08:41:10 pm
I use Xenixa's autoinv module which can be found on the forum.  Works with a notify command so u can turn the autoinv on and off selectively.  Basically added a switch on and off to his !guestlist output and its great.

-jj-
SimplePortal 2.3.7 © 2008-2025, SimplePortal