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: Ginfo mod ?  (Read 2573 times)

0 Members and 1 Guest are viewing this topic.

Offline dragonjr

  • BeBot Apprentice
  • ***
  • Posts: 131
  • Karma: +0/-0
Ginfo mod ?
« on: November 18, 2012, 02:17:26 am »
is there a limitation on how many officers you can have and still have it work properly for the recruitment?

Code: [Select]
     
      $txt.= "##purple##Leaders:##end##\n\n";
      $online = $this -> bot -> core("online") -> get_online_state('sissyy');
      $txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell sissyy Im interested in joining _-K.U.S.H-_'>sissyy</a>##end##\n";
      $online = $this -> bot -> core("online") -> get_online_state('Quicklearner');
      $txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell Quicklearner Im interested in joining _-K.U.S.H-_'>Quicklearner</a>##end##\n\n";
      $txt.= "##purple##Leaders Alts:##end##\n";
      $online = $this -> bot -> core("online") -> get_online_state('Luckeecharms');
      $txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell Luckeecharms Im interested in joining _-K.U.S.H-_'>Luckeecharms</a>##end##\n";
      $online = $this -> bot -> core("online") -> get_online_state('Toothpic');
      $txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell Toothpic Im interested in joining _-K.U.S.H-_'>Toothpic</a>##end##\n";
      $online = $this -> bot -> core("online") -> get_online_state('gription');
      $txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell gription Im interested in joining _-K.U.S.H-_'>gripton</a>##end##\n\n";
     
      $txt.= "##purple##Officers:##end##\n";
      $online = $this -> bot -> core("online") -> get_online_state('sininstyle');
      $txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell sininstyle Im interested in joining _-K.U.S.H-_'>sininstyle</a> - Officer##end##\n";
      $online = $this -> bot -> core("online") -> get_online_state('dragonpets');
      $txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell dragonpets Im interested in joining _-K.U.S.H-_'>dragonpets</a> - Officer##end##\n";
      $online = $this -> bot -> core("online") -> get_online_state('izzyy');
      $txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell izzyy Im interested in joining _-K.U.S.H-_'>izzyy</a> - Officer##end##\n";
      $online = $this -> bot -> core("online") -> get_online_state('leatherz');
      $txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell leatherz Im interested in joining _-K.U.S.H-_'>leatherz</a> - Officer##end##\n";
  $online = $this -> bot -> core("online") -> get_online_state('Fetishgirl');
      $txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell Fetishgirl Im interested in joining _-K.U.S.H-_'>Fetishgirl</a> - Officer##end##\n";
  $online = $this -> bot -> core("online") -> get_online_state('Feneror');
      $txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell Feneror Im interested in joining _-K.U.S.H-_'>Feneror</a> - Officer##end##\n";
  $txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell Fenrirr Im interested in joining _-K.U.S.H-_'>Fenrirr</a> - Officer##end##\n";
im not good with understanding this coding so any help would be great thanks

Offline crocks

  • BeBot User
  • **
  • Posts: 23
  • Karma: +0/-0
Re: Ginfo mod ?
« Reply #1 on: November 24, 2012, 06:00:49 pm »
Hey, I suppose the module does not use a database according to the code.
There is a limitation by Funcom for organisation ranks (for example its 15-20 advisors in a Republic Goverment form) - so it only matters for ingame ranks. (Not sure about AoC)

Anyway you can add as many officers as you want. You just need to add a simply line with officer's name (the same one it uses) to the code.

Code: [Select]
$online = $this -> bot -> core("online") -> get_online_state('gription');
$txt.= "##GI_highlight##".$online['content']." :: <a href='chatcmd:///tell officername Im interested in joining _-K.U.S.H-_'>Officername</a>##end##\n\n";

Offline dragonjr

  • BeBot Apprentice
  • ***
  • Posts: 131
  • Karma: +0/-0
Re: Ginfo mod ?
« Reply #2 on: December 01, 2012, 08:19:54 pm »
k thanks

 

* 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: 664
  • 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