collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: WTB help, basic for dummies.  (Read 2589 times)

0 Members and 1 Guest are viewing this topic.

Offline Akiiras

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
WTB help, basic for dummies.
« 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. :]

Offline Drizzurdeen

  • BeBot Apprentice
  • ***
  • Posts: 193
  • Karma: +0/-0
    • Obsidian-Cult
Re: WTB help, basic for dummies.
« Reply #1 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

Offline Akiiras

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: WTB help, basic for dummies.
« Reply #2 on: April 03, 2010, 06:17:14 pm »
Thanks, i guess i'll just try harder :]

Offline Cuval

  • BeBot User
  • **
  • Posts: 29
  • Karma: +0/-0
Re: WTB help, basic for dummies.
« Reply #3 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/

Offline Akiiras

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: WTB help, basic for dummies.
« Reply #4 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 :]

Offline Kyr

  • BeBot Apprentice
  • ***
  • Posts: 177
  • Karma: +0/-0
Re: WTB help, basic for dummies.
« Reply #5 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

Offline Akiiras

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: WTB help, basic for dummies.
« Reply #6 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 :]

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 233
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal