voice for 15 mins on specific channel command with output

Do you have script in mind but no ability to make it, type in what it should do, and you might be lucky.

voice for 15 mins on specific channel command with output

Postby jameS » Tue Aug 04, 2009 7:29 am

Hello,

as stated in channel topic i am looking for a tcl script that gives voice for 10 mins on specific channel command with output.

For example, you join a channel #mercs
write "!merc med" in main channel
-> Notice to the player sending command:
:: Ok, your are now registered as merc with skill: med without info on #mercs. You'll be removed automatically after 15mins. ::

-> then he gets voiced for 15mins
-> Bot writes in #mercs channel:
:: New merc added on my database ( jameS ) with skill: ( high ) and infos: ( none ). ::

-> devoice after 15 minutes

Possible skilllevels:
skill low- low low+ med- med med+ high- high high+


"!merc skill info" <- although info is not a must, !merc skill should be enough

but adding skill after !merc is a must, if you do not add this, the bot should give a notice to the player saying that:
:: Please use: !merc <yourskill> <infos(optional)> - Skills available: low-, low, low+, med-, med, med+, high-, high, high+. - Infos: max 10 characters - Ex: !merc med+ french ::


I know it's nothing common, but I really need this and I would also give something for it, like bouncer, ts server, vent or anything. Please help me out, thanks in advance. ;)
jameS
 

Re: voice for 15 mins on specific channel command with output

Postby Blady » Tue Aug 18, 2009 7:47 am

I could do it for MSL, not TCL :D
Blady
 

Re: voice for 15 mins on specific channel command with output

Postby jameS » Thu Aug 20, 2009 1:17 pm

Ok, would be great Blady, i don't care much about TCL.

Just need this script, thanks in advance
jameS
 

Re: voice for 15 mins on specific channel command with output

Postby Blady » Fri Aug 21, 2009 8:41 am

Try this (not tested, i'm at work)

http://script.quakenet.org/paste/572229


Regards
Blady
 

Re: voice for 15 mins on specific channel command with output

Postby jameS » Mon Aug 24, 2009 9:37 pm

very nice Blady, works just fine so far but it needs to be a bit more complex

either welcome every new user with "Use !merc skill " etc. if you are a merc, or send a notice to the player if someone writes "merc" on the irc channel saying the command.

There also needs to be a command to see all current mercs + skill + infos, if not its kinda useless to give skillinfo + info

Thanks a lot already
jameS
 

Re: voice for 15 mins on specific channel command with output

Postby Blady » Tue Aug 25, 2009 1:01 pm

Ok now the script react on !merc <level> [info] and also if someone say "blabla merc blabla <skill> blabla"

Using "!merc list" should return the list of all mercs

http://script.quakenet.org/paste/572317


Regards.
Blady
 

Re: voice for 15 mins on specific channel command with output

Postby jameS » Fri Aug 28, 2009 8:21 pm

**!merc list Bug

does not work, it just shows nothing

**add this message (as already mentioned in my first post here ;))
Please post a public channel message when someone used "!merc med english" for example saying that: ":: New merc added to my database with skill ( med ) and Infos ( english ) ::"

Thanks a lot for your great job, feel free to contact me if you want something in exchange or so.
jameS
 

Re: voice for 15 mins on specific channel command with output

Postby Blady » Mon Sep 21, 2009 8:25 am

Hey

Here is the code with the message added : http://script.quakenet.org/paste/572744


About the listing, when you say it does not work, does it show any error in the status windows ? I'll look at it and try to catch the bug.

EDIT: I think I found something wrong, try this new one : http://script.quakenet.org/paste/572745


Regards.
Blady
 


Return to TCL Scripting Request

Who is online

Users browsing this forum: No registered users and 3 guests

cron