Development > Coding and development discussion

Help with prgoup !online

(1/2) > >>

Gwitz:
Im currently using my bot for org and raid stuff, and iv been trying to get the !online command in privgroup to only show people in the pgroup and not people in the org. So far not much success, still newbie at php. Im using alreadytheres fancy online module. And i have another module thats only got pgroup functions. So if anyone has any idea :D

The other module is also very handy for raids because it has all the proffesion commands like !enf !doc ect. I was trying to combine the two, but i coulnt get that to work either.

posted the pgroup only module i have.

*edit attached it twice, oops ><

Alreadythere:
It's Akarah's Online module (credit where credit is due!).

If you want to use both classes, you have to make sure that they got different object names, and the line $var = new OnlineXY($bot) has to have different variable names.
And you need to comment out the pgroup command define in the org bot online module.

For information about profs in the pgroup, you can use my count module too.
Just be warned:

--- Quote ---Needs my color module, and uses my whois cache. And is using get_tablename too.
--- End quote ---

Gwitz:
Well, ill give that a try, oh and anyone got a !tell module i can ninja ^^? Where it spams the message a few times

Naturalistic:
You can also just remove/comment out the entire "show org online people" from online.php.

Alreadythere:

--- Quote from: Gwitz on March 21, 2006, 11:27:11 am ---Well, ill give that a try, oh and anyone got a !tell module i can ninja ^^? Where it spams the message a few times

--- End quote ---
Here is a tell module

Navigation

[0] Message Index

[#] Next page

Go to full version