# 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 .
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
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
Last edited by Alchera on Fri Aug 12, 2005 6:19 pm, edited 1 time in total.
Add [SOLVED] to the thread title if your issue has been. Search | FAQ | RTM
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.
# 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