BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: Akiiras on April 03, 2010, 02:45:38 pm

Title: WTB help, basic for dummies.
Post by: Akiiras on April 03, 2010, 02:45:38 pm
Hi there.

I wondered, if i would like to make a very simple script for the bot (in AoC) wich simply just contained a popup window with text. How would i go and do this? Have been looking around quite some time to figure this out, but failed due to confusion hehe.

Lets say i just wanna send a private tell to the bot: !test
And it replies with a test popup clicky thingie. :P

If this is a simple task, really thanks in advanced. :]
Title: Re: WTB help, basic for dummies.
Post by: Drizzurdeen on April 03, 2010, 05:25:47 pm
try to modify this mod http://bebot.link/aoc-modules/guild-recruitment/
this should be such a mod u need

hope i could help
greez da drizz
Title: Re: WTB help, basic for dummies.
Post by: Akiiras on April 03, 2010, 06:17:14 pm
Thanks, i guess i'll just try harder :]
Title: Re: WTB help, basic for dummies.
Post by: Cuval on April 04, 2010, 01:00:06 pm
or you get into this thread: make a script, basic aoc script and add an alias..

http://bebot.link/aoc-0-6-support/scripts-to-module/ (http://bebot.link/aoc-0-6-support/scripts-to-module/)
Title: Re: WTB help, basic for dummies.
Post by: Akiiras on April 18, 2010, 12:55:37 pm
Thanks. But its all detours to what i really want. I'll just have to try and learn bit more :]
All i want is a php for the custom/modules folder of my bot, wich simply posts a popup of whatever i want to write inside. Less fancy than anything i can find here ^-^

But thanks for the ideas :]
Title: Re: WTB help, basic for dummies.
Post by: Kyr on April 18, 2010, 08:57:36 pm
The script module is the perfect way to do what you describe.

2 files are attached to this post.

Put the scripts.php in your <bot>/custom/modules folder and restart the bot

save the welcome.txt in your <bot>/scripts folder

do this command on the bot:
Code: [Select]
!comalias add welcome script welcome
Then when ever anyone does !welcome in guild chat the bot will post a welcome click-able link to a pop-up in guild chat.  Also, /tell <botname> !welcome will return you a tell from your bot with the click-able welcome link, but this is really not useful for a welcome script.

This is my guilds welcome script, but you can change it to fit your needs.  Another point, changing the script does not require restarting of the bot.

~Kyr
Title: Re: WTB help, basic for dummies.
Post by: Akiiras on April 19, 2010, 04:41:38 pm
Ok, i admit i was bit quick in the turns there. The script module is really nice!
Thanks for pointing it out to me Cuval, and thanks for the reassurance and ideas Kyr :]
SimplePortal 2.3.7 © 2008-2024, SimplePortal