collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Logon, Invite  (Read 5351 times)

0 Members and 2 Guests are viewing this topic.

Offline Foxy

  • BeBot User
  • **
  • Posts: 37
  • Karma: +0/-0
Logon, Invite
« 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
« Last Edit: April 19, 2006, 08:41:20 am by Foxy »

Offline Foxy

  • BeBot User
  • **
  • Posts: 37
  • Karma: +0/-0
Re: Logon, Invite
« Reply #1 on: April 19, 2006, 12:13:41 pm »
2)  using Login msg so now this is ok..


Just need auto invite like hellcom

Offline Naturalistic

  • Contributor
  • *******
  • Posts: 221
  • Karma: +0/-0
Re: Logon, Invite
« Reply #2 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.
220/25 Eternalist Doctor
-----------------------------
Campalot Coding Co-ordinator and Super Admin
http://www.campalot.info/index.php

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: Logon, Invite
« Reply #3 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-

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 284
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal