Archive > AO official modules

Updated Relay_GUILD.php

(1/3) > >>

Xenixa:
ftp://xen.afraid.org/bebot_files/Relay_GUILD.php

This version adds a command (!guestlist) to display a list of Guests that are on the guests table while ingame
- Shows Name with a Link to Whois, a Link to Remove, Date/Time Added and Who added them.
- Adjusts guests table to add columns for Name, Date/Time Added, and Added By
- Incorporated Craized's Notify.php module.
 --Note: Remove Notify.php if you have his module installed prior to restarting with this one.
- Guest join notify function code from Craized's Notify.php extended to add missing Guest info to the guests table. i.e. their name and when added.

Give a whirl and lemme know if it works for you.

jjones666:
Hi Xenixa,

Works fine here - both the old version (with notify.php seperately) and the newer version with notify incorporated.

Thanks a lot, very useful plugin :-)

-jj-

Ainen:
Is there a way to make the !guest command accessable to Members - not just admins? I have Members assigned the rights using Custom Rights Management, but looking at the Relay_GUILD.php it looks like the admin is hardcoded.

Alreadythere:
Easy solution, just remove the outernmost if.

Akarah:
i need to hack relay_guild up to support IGN-style relaying.. that is, keeping a list of syntax characters and sending to a specific bot when a specific char is used, and only when that char is used, not otherwise.

typically have had a setup like this:

in a 6 bot network, i was previously relaying:

bot1 -> bot2 via "-"
bot2 -> bot1 via "-"
bot1 -> bot3 via "@"
bot3 -> bot1 via "@"
bot2 -> bot4 via "@"
bot4 -> bot2 via "@"
bot5 -> bot1 via "@"
bot1 -> bot5 via ":"
bot6 -> bot1 via "@"
bot1 -> bot6 via "="

so someone in bot1's org could talk to the orgs of bot2,bot3,bot5,bot6.
someone in bot2's org could talk to the orgs of bot1,bot4
etc..

it's troublesome reinventing the wheel, when IGN already had all this stuff written, but i think starting from scratch (or rather, heavily modifying the existing relay_GUILD) is the best answer in this situation.

this is on my todo list, but i'm not sure if i have the technical expertise to pull it off. time will tell :)

Navigation

[0] Message Index

[#] Next page

Go to full version