BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => BeBot Hyborian support => Topic started by: kaeus on July 15, 2008, 03:25:55 pm

Title: Send message to specific channel
Post by: kaeus on July 15, 2008, 03:25:55 pm
I never played AO and so I'm relatively new to Bebot.  Currently, my guild loves the features and I'm looking to expand certain things.

ATM, I'm making a /recruit command that someone with proper privileges can do to send an OOC recruitment message.  Now I know there is a send to pgroup, but I have no idea how pgroups work (mainly because there dont seem to be the same channel structure as in AO I guess)

Could anyone provide an example on how to send a message to the OOC channel if possible?
Title: Re: Send message to specific channel
Post by: Kieba on July 15, 2008, 04:16:13 pm
pgroup is the guestchannel of a guild bot or the privat chat group of a raidbot.

like a tell "/tell name text" u can also write to a certain chat channel: "/channel text" - so u can implement such a feature clickable in a textblob, for example:

<a href='chatcmd:///channel text'>::click for message in ooc::</a>

hope this helps.
Title: Re: Send message to specific channel
Post by: Kieba on July 15, 2008, 04:17:11 pm
*args* sorry, dont mind thats an AoC bot question... i m only in AO :-p
Title: Re: Send message to specific channel
Post by: kelmino on July 15, 2008, 11:40:53 pm
now that you mention it though this would be handy for recruitment purposes for the aoc bot
Title: Re: Send message to specific channel
Post by: kaeus on July 16, 2008, 06:44:18 am
So any way to set up a make_blob to OOC?
Title: Re: Send message to specific channel
Post by: kaeus on July 16, 2008, 03:49:51 pm
Could I do this by modifying a version of send_pgmsg to send to the ooc channel ID? I have NO clue what the channel ID's are to test this. :(
Title: Re: Send message to specific channel
Post by: Noer on July 16, 2008, 03:56:45 pm
You could try using the
Code: [Select]
$this -> bot -> core("chat") -> lookup_group("Playfield");

But this will only go to the region the bot is located in. You can't select Playfields in other areas. And besides that I think in general making bots output automatically to public channels is a bad idea. The current spam with recruitment scripts is already getting out of hand.
Title: Re: Send message to specific channel
Post by: kaeus on July 16, 2008, 04:31:18 pm
No luck finding the channel ID.
SimplePortal 2.3.7 © 2008-2025, SimplePortal