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: Whompa Module  (Read 11707 times)

0 Members and 1 Guest are viewing this topic.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Whompa Module
« Reply #15 on: May 17, 2007, 04:50:29 pm »
replace all $this -> bot -> compre with $this -> bot -> commpre I think

Offline fija

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Whompa Module
« Reply #16 on: May 17, 2007, 05:52:28 pm »
Thanks,

I'll try it when I get home. I just noticed that in the post you made the other day that there was a difference between the two commpre statements. I missed that one  :-[

I'll post back if I have probs.

Fija

Offline pod13

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Whompa Module
« Reply #17 on: May 18, 2007, 12:55:33 am »
OOPS!  :-[

I've fixed the commpre mistake in the uploaded ZIP file.

Offline fija

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Whompa Module
« Reply #18 on: July 27, 2007, 12:34:45 am »
ok, I know its been a while since I last posted on this. There is a slight problem I came across with this module and that is that when you use the command in the pgroup the bot only returns your name. Not an org bot so I can clarify if this fix will work for that.

Quote
/*
   This gets called on a msg in the privgroup with the command
   */
   function pgmsg($name, $msg)
   {
        $this->bot->send_pgroup($name,$this->do_whompa_stuff($name, $msg));

I changed to this
Quote
/*
   This gets called on a msg in the privgroup with the command
   */
   function pgmsg($name, $msg)
   {
        $this->bot->send_pgroup($this->do_whompa_stuff($name, $msg));
   }

Note that I have removed the $name before $this->do_whompa_stuff($name, $msg));

btw this also works great in v4 of bebot ;)

Hope this helps someone.

Fija
« Last Edit: July 27, 2007, 09:23:22 pm by fija »

Offline Metaphblade

  • BeBot User
  • **
  • Posts: 49
  • Karma: +0/-0
Re: Whompa Module
« Reply #19 on: August 14, 2007, 08:23:52 pm »
in 4.0 if you do a !whompa cities  it will only display a popup with omni/neut/clan on the page, no citites next to them.

 

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