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: Adding Scripts? the 2nd  (Read 3325 times)

0 Members and 1 Guest are viewing this topic.

Offline Kritze

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Adding Scripts? the 2nd
« on: May 03, 2011, 12:51:51 am »
Tulia has written about the default aoc scripts to the bot.

I use Bot 0.6.8 but.. how it works?

The file "script.lst" fails same the folder "scripts".

i really want, that the bot will output MY written scripts, lika Kara Korum Emotes, Guild Information or a small Option menu.

Example:
I tell the BOT with !kara
The Bot sends me a Link to my written script with all neccessary kara korum emotes.

Offline Drizzurdeen

  • BeBot Apprentice
  • ***
  • Posts: 193
  • Karma: +0/-0
    • Obsidian-Cult
Re: Adding Scripts? the 2nd
« Reply #1 on: May 03, 2011, 11:08:20 am »
when u use the scripts.lst u have to edit it manually ... ;)

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: Adding Scripts? the 2nd
« Reply #2 on: May 03, 2011, 04:35:06 pm »
The script module adds support for something like:
Code: [Select]
!script karawhich requires that you have a file called kara.txt which you have manually added to the script.lst if you want it to show when you type !scripts

If you want to run
Code: [Select]
!karayou need to add a comalias (command alias) for that script.
Code: [Select]
!comalias add kara script kara

Offline Kritze

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Adding Scripts? the 2nd
« Reply #3 on: May 03, 2011, 05:00:58 pm »
i dont need any additive module to add my own scripts? Already included to bebot?

For example:
/tell Guildbot !comalias add kara script kara

The filename is kara.TXT ... will the bot detect it by himself or may i add a .txt (... script kata.txt)

And i cant edit any scripts.lst cause i dont have one :D

Offline Kyr

  • BeBot Apprentice
  • ***
  • Posts: 177
  • Karma: +0/-0
Re: Adding Scripts? the 2nd
« Reply #4 on: May 04, 2011, 12:57:56 am »
here is my script.lst

put it in your script folder inside the folder where the bot runs.   you can then open it in your favorite text editor and see how it is formatted.  Just modify it to call to the scripts you have created and put in your script folder (same place you put the script.lst).  Remember ALL SCRIPT FILES MUST END IN .TXT or the script module will not read them.

Good luck! 

These forums won't let me upload a file with the .lst extension, therefore I added .txt to the end.  When you save it in your scripts folder be sure to remove the .txt

~Kyr

Offline Kritze

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Adding Scripts? the 2nd
« Reply #5 on: May 04, 2011, 11:00:31 am »
Ah great, will try it. Probably i must create the Script folder by myself, cant find one :D

 

* 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: 220
  • 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