ADCH++ Scripts Wanted

LUA Scripting
Toast

ADCH++ Scripts Wanted

Post by Toast » 09 Jan 2008, 13:29

Please post ADCH++ Scripts here


adrian_007
Senior Member
Posts: 126
Joined: 06 Jan 2008, 13:00

Re: ADCH++ Scripts Wanted

Post by adrian_007 » 09 Jan 2008, 16:25

rather scripts i prefere plugins... someone should write plugin that turn adchpp into adc-verli-like hub... :>
excluding me, is anyone working on it? :D

Toast

Re: ADCH++ Scripts Wanted

Post by Toast » 09 Jan 2008, 16:48

adch got the same regging system as verli with levels so a plugin for it shouldnt be too hard i think

adrian_007
Senior Member
Posts: 126
Joined: 06 Jan 2008, 13:00

Re: ADCH++ Scripts Wanted

Post by adrian_007 » 09 Jan 2008, 19:26

accounts are already there, i meant something more advanced :>

Toast

Re: ADCH++ Scripts Wanted

Post by Toast » 09 Jan 2008, 19:35

it has lua support and python support. The things missing is op commands but blastbeats lua commans gives some functions

What did u have in mind ?

adrian_007
Senior Member
Posts: 126
Joined: 06 Jan 2008, 13:00

Re: ADCH++ Scripts Wanted

Post by adrian_007 » 09 Jan 2008, 20:19

i was talking about c++ wrapper of access.lua and i've done it already. and since i've stared i'm wondering if someone's doing same job (op-like plugin)
for now i've included boost regex (pretty nice library, i like it much) + settings manager (isn't finished).
all will be controlled via console.
and i'm also wondering if i should use database or just simple store all stuff in containers and save it to xml (like now) but while i'm a noob in sql i like more second choice.

for ex. settings cmd
+cfg set max_users -1
where -1 is unlimited and 0 is for reg only.
i think i'll release first alphas in february.

Toast

Re: ADCH++ Scripts Wanted

Post by Toast » 09 Jan 2008, 20:35

Talk to DCDevs i think the plugin would be most welcome in the official release

Toast

Re: ADCH++ Scripts Wanted

Post by Toast » 10 Jan 2008, 04:53

you can always post some screenies for us courius ppl to look at if you want later on

adrian_007
Senior Member
Posts: 126
Joined: 06 Jan 2008, 13:00

Re: ADCH++ Scripts Wanted

Post by adrian_007 » 13 Jan 2008, 16:27

make one more offtopic post...
something like screenshot... ;)
[17:24:01] *** Connected
[17:24:01] <ADCH++> This hub is running ADCH++ v2.1.0 (r0) Release [User Count: 1 | Uptime: 56 sec / Sun Jan 13 16:24:01 2008]
[17:24:01] *** Stored password sent...
[17:24:01] <ADCH++> welcome adrian_007
[17:24:18] <ADCH++> Help
User Commands:
+help
+myinfo
------------------------------------------------
Registered User Commands:
...
------------------------------------------------
Operator Commands:
+regs - display info about registered users
+regn - register new user:
Params: <nick> <class> or <nick> <pass> <class>
+regd <nick> - delete registered user
+regi <nick> - display info about registered user
+drop <nick> - disconnect user
------------------------------------------------
Super User Commands:
+cfg <func> <func_name> <value> - change specified setting
Functions: set
Function Names:
=> max_users - limit of online users connected to hub
=> min_share - minimal share size to join hub
=> min_share_reg - minimal share size for registered users
=> welcome_reg - welcome message for registered users
=> welcome_op - welcome message for operators
=> welcome_su - welcome message for super users
=> welcome_owner - welcome message for owners
------------------------------------------------

[17:25:44] <ADCH++> Registered Users:1
User Nick: adrian_007
User Class: 8

[17:25:55] <ADCH++> Curretn Hub Settings:
Max Users: -1
Min Share: 0
Min Share Reg: 0
Welcome Messages:
- Registered: reg msg
- Operator: hello operator ;)
- Super User: welcome %[NI]
- Owner: Welcome Owner

Post Reply