PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Nio on 23 November, 2003, 22:52:42

Title: blackboard bot
Post by: Nio on 23 November, 2003, 22:52:42
Hi

#### This hub is running PtokaX DC Hub 0.3.2.6 TestDrive 4 ####

i need a simple bot which allows all users to get informations about some themes.

atm we use a modified dirtybot, but its useless to use a complete big bot since we changed to private mode.

so i want a simple small script which allows the few functions we need.

1. add (text-)updates via PM to the bot

command which is used atm is:

-set(command01) new text

2. show the infos in PM from the bot (bot is visble as active user inside the hub)

-command01

-> result is a popup from the bot with the text from command01

example:

-rules

shows hub rules

I.
II.
III.

and so on

the commands should work as PM to the bot or as message inside the main.

######################################

used commands atm are:

-rules
-crc
-find
-friends
-groups
-news
-ogm
-ops
-raws
-rips
-searched
-subs
-tips
-vips
-free

only ops, master or admin should be able to update the textfiles.

(the textfiles are stored inside \scripts subfolder from ptoka)

again:

update commands are:

-setnews "new bot script is working"

hope someone has the will and the time to create that helpful "blackboard" bot

thx, Nio