!request script v1.2 (For bot services)

Release your script here.
State:
- Author
- What it does
- Perhaps a little guide.
- Also, if the snippet is of any use to the community, it has a chance of getting posted on the main page, so don't hesitate to submit/ask!

Re: !request script (For bot services)

Postby boderox » Fri Jul 11, 2008 10:40 pm

;D
no problem :]
boderox
 

Re: !request script v1.2 (For bot services)

Postby timur » Wed Jul 16, 2008 8:23 pm

please for the next version

broadcast example in homechan !msg this text come in all chan where are the bots

checkflags for every bots

need user example 20 for vip , 30 for fun

thx
timur
 

Re: !request script v1.2 (For bot services)

Postby jonlar » Sat Jul 19, 2008 2:32 pm

For the next Version: a variable Trigger. Everybody could set a Trigger he/she wants


Edit. I´ve tried it now and some "missunderstandings"

I have the Request Bot called John and the fun Bot, lets say Gina ;)

Now the First part of the Script says that

Code: Select all
# set here the channel, where the people will request
set request(channel) "#aio"

# set here the private channel
set request(private) "#aio.private"

# set here all the bots available for request
# example: set request(bots,pro) "bot1 bot2 bot3" etc.
set request(bots,pro) ""
set request(bots,fun) "Gina"
set request(bots,vip) ""


The next part is a bit confusing. OK its written not to change anything but where is it for?

Code: Select all
set req(nick) ""
set req(host) ""
set req(chan) ""
set req(bot) ""
set req(type) ""



and i get an Error
Tcl error [pub:request]: bad search mode "-all": must be -exact, -glob, or -regexp
jonlar
 

Re: !request script v1.2 (For bot services)

Postby Lukemob » Wed Jul 23, 2008 5:51 pm

This error going to be fixed in next version... and, I need to set those variables, because they're in-use in the script - but not usable for user... that's why I've put them under the "don't-change" line.
Lukemob
 

Re: !request script v1.2 (For bot services)

Postby daveyw » Thu Jul 24, 2008 3:14 pm

Maybe its a good idea to change

Code: Select all
bind pub - "!request" pub:request
bind pub - "!bots" pub:bots
bind pub m "!suspend" pub:suspend
bind pub m "!unsuspend" pub:unsuspend
bind pub - "!version" pub:version

to this

Code: Select all
set trigger "!"

bind pub - "${trigger}request" pub:request
bind pub - "${trigger}bots" pub:bots
bind pub m "${trigger}suspend" pub:suspend
bind pub m "${trigger}unsuspend" pub:unsuspend
bind pub - "${trigger}version" pub:version

I think that would be better, then you can move the: set trigger "!" to the edit section instead of the don't edit section.
daveyw
 

Re: !request script v1.2 (For bot services)

Postby Lukemob » Fri Jul 25, 2008 3:47 pm

That's copied from my new version :D Man... kill you
Lukemob
 

Re: !request script v1.2 (For bot services)

Postby chaps » Sat Oct 31, 2009 2:40 pm

Okeyh how i use this script?

NO copyrigth no script?


Is this script free or not? where i can ask if i can use this script?
chaps
 

Re: !request script v1.2 (For bot services)

Postby fraguk » Sat Oct 31, 2009 3:02 pm

yes its free ;)
fraguk
 

Re: !request script v1.2 (For bot services)

Postby chaps » Sat Oct 31, 2009 3:59 pm

Okey where i can get the script Without the kill commands?
chaps
 

Re: !request script v1.2 (For bot services)

Postby chaps » Sat Oct 31, 2009 4:41 pm

or how i use it without getting bot killed?
chaps
 

PreviousNext

Return to TCL Scripting Release

Who is online

Users browsing this forum: No registered users and 0 guests

cron