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

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

Author Topic: bind module to group?  (Read 1654 times)

0 Members and 1 Guest are viewing this topic.

Offline WeZoN

  • Global Moderator
  • *****
  • Posts: 92
  • Karma: +0/-0
bind module to group?
« on: June 20, 2009, 01:16:41 am »
Hi.

I was wondering if it is possible to bind access to a module to a group.

Example:

Players in the group "diplomacy" is able to edit the allies and kos module but not players who is not in the group.


Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: bind module to group?
« Reply #1 on: June 22, 2009, 03:59:45 am »
currently there is no module for doing it with any command but u can put code into a module to check that

Offline WeZoN

  • Global Moderator
  • *****
  • Posts: 92
  • Karma: +0/-0
Re: bind module to group?
« Reply #2 on: July 05, 2009, 01:01:16 am »
hmm, well if i do

$this -> register_command("all", "c", "DIPLOMACY");

the group is given leader rights.

People in leader and above are still able to edit the module!

Could you give some pointer on what code to use?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: bind module to group?
« Reply #3 on: July 05, 2009, 01:07:10 am »
Not sure why you got LEADER rights, but there is no support for any rules by your kind in the bot.

All rules and internal workings are based on the fixed levels from ANONYMOUS up to OWNER.

 

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


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


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


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 522
  • 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