| View previous topic :: View next topic |
| Author |
Message |
n00By is sexy Voice
Joined: 10 Aug 2005 Posts: 6
|
Posted: Wed Aug 10, 2005 6:15 pm Post subject: Support TCL |
|
|
Sorry for my bad english I`m a german boy
I had found a Support Script @ google and now nowI will post it and tah i will say my problem with it.
| Code: | # Public command trigger
set tr "!"
set cc "!"
# Channels you _dont_ want the bot to act (seperate with spaces):
set nopub ""
###############################################################
##Dont change this!##
###############################################################
bind pub -|o ${tr}helper helper
bind pub -|- ${tr}support req
set helper "no"
proc helper {nick host hand chan arg} {
global url pathqstat cc nopub helper
if {[lsearch -exact $nopub [string tolower $chan]] >= 0} {return 0}
if {$arg == ""} {
putserv "notice $nick :Usage: ${cc}helper <Exact Nickname>"
return 0
}
if {$arg == "me"} {
set helper "$nick"
} else {
set helper "$arg"
}
putserv "NOTICE $chan :Helper set to $helper"
}
proc req {nick host hand chan arg} {
global url pathqstat cc nopub helper
if {[lsearch -exact $nopub [string tolower $chan]] >= 0} {return 0}
if {$arg == ""} {
putserv "notice $nick :Usage: ${cc}support <Question> und warte auf eine Antwort."
return 0
}
set question "$arg"
if {$helper == "no"} {
putserv "NOTICE $nick :Es ist leider kein Supporter anwesend."
putserv "NOTICE $nick :Versuche es bitte später noch einmal."
}
if {$helper != "no"} {
putserv "PRIVMSG $helper : $nick @ $chan hat folgendes Problem:"
putserv "PRIVMSG $helper :$question"
putserv "NOTICE $nick : Du hast um folgende hilfe gebeten:"
putserv "NOTICE $nick :$question."
putserv "NOTICE $nick :Bitte stell deine Frage nicht nochmal. Warte auf Antwort!"
}
}
putlog "Support Script loaded" |
Now my Problem at the moment only 1 Supporter could be online, I want that the Operators could write them in as Supporter and can make with for example .next and the Person who needs Support would get voice and can say the Supporter his Problem. When somebody joined the Channel the Eggdrop must say Hello you`re number ... in Line please wait for voice and ask then your question.
It would be very nice if you all can help me because I`m a stupid noob in Scripting and the people from #tcl would`nt help me .
In hopeful for Help
n00By  |
|
| Back to top |
|
 |
r0t3n Owner
Joined: 31 May 2005 Posts: 507 Location: UK
|
Posted: Wed Aug 10, 2005 6:36 pm Post subject: |
|
|
please dont double post!! _________________ r0t3n @ #r0t3n @ Quakenet |
|
| Back to top |
|
 |
n00By is sexy Voice
Joined: 10 Aug 2005 Posts: 6
|
Posted: Wed Aug 10, 2005 6:37 pm Post subject: Sorry |
|
|
| I don`t know in what Category this Post must. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Aug 10, 2005 7:18 pm Post subject: |
|
|
| n00By is sexy wrote: | | It would be very nice if you all can help me because I`m a stupid noob in Scripting and the people from #tcl would`nt help me |
De Kus kann helfen  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Last edited by Alchera on Fri Aug 12, 2005 6:18 pm; edited 1 time in total |
|
| Back to top |
|
 |
n00By is sexy Voice
Joined: 10 Aug 2005 Posts: 6
|
Posted: Thu Aug 11, 2005 6:10 am Post subject: Support TCL |
|
|
Cool biste Deutscher? Also so ein Script wie #bouncer4you.support oder #sicherheit.help hat wäre echt geil.
And now in English a Support Script like #bouncer4you.suport or #sicherheit.help have one would be very very nice  |
|
| Back to top |
|
 |
n00By is sexy Voice
Joined: 10 Aug 2005 Posts: 6
|
Posted: Thu Aug 11, 2005 3:08 pm Post subject: Support TCL |
|
|
Nobody will help me  |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Thu Aug 11, 2005 3:19 pm Post subject: |
|
|
| we're not good samaritans, so crying won't help; be patient and quiet, all good things come to those who wait |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu Aug 11, 2005 7:41 pm Post subject: Re: Support TCL |
|
|
| n00By is sexy wrote: | | Cool biste Deutscher? |
De Kus ist Deutsch.
What I meant was this, as one of our regular contributors is German and you seem to suck at English; De Kus may be able to help you in your own language.
| demond wrote: | | be patient and quiet, all good things come to those who wait |
 _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Last edited by Alchera on Fri Aug 12, 2005 6:19 pm; edited 1 time in total |
|
| Back to top |
|
 |
sKy Op

Joined: 14 Apr 2005 Posts: 194 Location: Germany
|
Posted: Fri Aug 12, 2005 9:23 am Post subject: |
|
|
www.egghelp.ort ->script archive -> search for any of this words:
next
.next
queue
them should be fine... |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Aug 12, 2005 9:50 am Post subject: Re: Support TCL |
|
|
| Alchera wrote: | De Kruz may be able to help you in your own language.
|
You mean De Kus  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Aug 12, 2005 6:18 pm Post subject: Re: Support TCL |
|
|
| Sir_Fz wrote: | | Alchera wrote: | De Kruz may be able to help you in your own language.
|
You mean De Kus  |
Yup! That's the one. LOL
Now to edit.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Ofloo Owner
Joined: 13 May 2003 Posts: 953 Location: Belguim
|
Posted: Fri Aug 12, 2005 7:43 pm Post subject: Re: Support TCL |
|
|
| n00By is sexy wrote: | Sorry for my bad english I`m a german boy
I had found a Support Script @ google and now nowI will post it and tah i will say my problem with it.
| Code: | # Public command trigger
set tr "!"
set cc "!"
# Channels you _dont_ want the bot to act (seperate with spaces):
set nopub ""
###############################################################
##Dont change this!##
###############################################################
bind pub -|o ${tr}helper helper
bind pub -|- ${tr}support req
set helper "no"
proc helper {nick host hand chan arg} {
global url pathqstat cc nopub helper
if {[lsearch -exact $nopub [string tolower $chan]] >= 0} {return 0}
if {$arg == ""} {
putserv "notice $nick :Usage: ${cc}helper <Exact Nickname>"
return 0
}
if {$arg == "me"} {
set helper "$nick"
} else {
set helper "$arg"
}
putserv "NOTICE $chan :Helper set to $helper"
}
proc req {nick host hand chan arg} {
global url pathqstat cc nopub helper
if {[lsearch -exact $nopub [string tolower $chan]] >= 0} {return 0}
if {$arg == ""} {
putserv "notice $nick :Usage: ${cc}support <Question> und warte auf eine Antwort."
return 0
}
set question "$arg"
if {$helper == "no"} {
putserv "NOTICE $nick :Es ist leider kein Supporter anwesend."
putserv "NOTICE $nick :Versuche es bitte später noch einmal."
}
if {$helper != "no"} {
putserv "PRIVMSG $helper : $nick @ $chan hat folgendes Problem:"
putserv "PRIVMSG $helper :$question"
putserv "NOTICE $nick : Du hast um folgende hilfe gebeten:"
putserv "NOTICE $nick :$question."
putserv "NOTICE $nick :Bitte stell deine Frage nicht nochmal. Warte auf Antwort!"
}
}
putlog "Support Script loaded" |
Now my Problem at the moment only 1 Supporter could be online, I want that the Operators could write them in as Supporter and can make with for example .next and the Person who needs Support would get voice and can say the Supporter his Problem. When somebody joined the Channel the Eggdrop must say Hello you`re number ... in Line please wait for voice and ask then your question.
It would be very nice if you all can help me because I`m a stupid noob in Scripting and the people from #tcl would`nt help me .
In hopeful for Help
n00By  |
you should of said girl :p just kidding hehe
also if i am not mestaken the answer is been given to you look in tcl archive there is a script called next or something.. which should be able to help you _________________ XplaiN but think of me as stupid |
|
| Back to top |
|
 |
n00By is sexy Voice
Joined: 10 Aug 2005 Posts: 6
|
Posted: Sat Aug 13, 2005 7:49 am Post subject: Support TCL |
|
|
Yes thank you. I found one  |
|
| Back to top |
|
 |
|