Archive > AO official modules

Pocketboss and Symbiant module

<< < (2/7) > >>

iriche:
Im thinking about posting mine...
yeah Ill do that later today

Xenixa:
Think I found a Bug with the Symb command.

When it pulls the results and offers Clickies to the PB in the Info window it doesn't add syntax to the front of pb

I.E. I use ! for syntax, links created show for example:

/tell <bot> pb <bossname>

EDIT:  Never mind, I fixed it. I was missing the <pre> infront of pb in the code below.

--- Code: ---$msg .= Grouptext("   Found on ")."<a href='chatcmd:///tell <botname> <pre>pb ".$symb[3]."'>".$symb[3]."</a>\n\n";
--- End code ---

Wanuarmi:
found a little bug/typo


--- Code: ---  $commands["gc"]["pb"] = &$pb;
  $commands["tell"]["pb"] = &$pb;
  $commands["pgmsg"]["pb"] = &$pb;
  $commands["gc"]["symb"] = &$pb;
  $commands["tell"]["symb"] = &$pb;
  $commands["pgmsg"]["pb"] = &$pb;
--- End code ---


the second pgmsg shoud be symb or you wont be able to use it on private channel.

jjones666:
Search Bug:

!pb Suzerain should return:

Adobe Suzerain
Kaoline Suzerain
Loessial Suzerain etc etc

However, returns only the first PB found with all the symbs from the others attached.

Cheers,

-jj-

jjones666:
I added all the missing PBs to the file (there were about 10 or so), I couldn't figure out the problem with the searching so that still needs to be fixed.  The list should be accurate with Aopocket's information now.

Let me know if any issues.

Cheers,

-jj-

http://www.jjones.co.uk/files/pb.php

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version