egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Support TCL

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
n00By is sexy
Voice


Joined: 10 Aug 2005
Posts: 6

PostPosted: Wed Aug 10, 2005 6:15 pm    Post subject: Support TCL Reply with quote

Sorry for my bad english I`m a german boy Wink
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 Sad.

In hopeful for Help

n00By Very Happy
Back to top
View user's profile Send private message
r0t3n
Owner


Joined: 31 May 2005
Posts: 507
Location: UK

PostPosted: Wed Aug 10, 2005 6:36 pm    Post subject: Reply with quote

please dont double post!!
_________________
r0t3n @ #r0t3n @ Quakenet
Back to top
View user's profile Send private message MSN Messenger
n00By is sexy
Voice


Joined: 10 Aug 2005
Posts: 6

PostPosted: Wed Aug 10, 2005 6:37 pm    Post subject: Sorry Reply with quote

I don`t know in what Category this Post must.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Aug 10, 2005 7:18 pm    Post subject: Reply with quote

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 Smile
_________________
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
View user's profile Send private message Visit poster's website
n00By is sexy
Voice


Joined: 10 Aug 2005
Posts: 6

PostPosted: Thu Aug 11, 2005 6:10 am    Post subject: Support TCL Reply with quote

Cool biste Deutscher? Also so ein Script wie #bouncer4you.support oder #sicherheit.help hat wäre echt geil. Very Happy
And now in English a Support Script like #bouncer4you.suport or #sicherheit.help have one would be very very nice Very Happy
Back to top
View user's profile Send private message
n00By is sexy
Voice


Joined: 10 Aug 2005
Posts: 6

PostPosted: Thu Aug 11, 2005 3:08 pm    Post subject: Support TCL Reply with quote

Nobody will help me Sad
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Thu Aug 11, 2005 3:19 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Aug 11, 2005 7:41 pm    Post subject: Re: Support TCL Reply with quote

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

Wink
_________________
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
View user's profile Send private message Visit poster's website
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Fri Aug 12, 2005 9:23 am    Post subject: Reply with quote

www.egghelp.ort ->script archive -> search for any of this words:
next
.next
queue

them should be fine...
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Aug 12, 2005 9:50 am    Post subject: Re: Support TCL Reply with quote

Alchera wrote:
De Kruz may be able to help you in your own language.

You mean De Kus Wink
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Aug 12, 2005 6:18 pm    Post subject: Re: Support TCL Reply with quote

Sir_Fz wrote:
Alchera wrote:
De Kruz may be able to help you in your own language.

You mean De Kus Wink

Yup! That's the one. LOL

Now to edit. Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Ofloo
Owner


Joined: 13 May 2003
Posts: 953
Location: Belguim

PostPosted: Fri Aug 12, 2005 7:43 pm    Post subject: Re: Support TCL Reply with quote

n00By is sexy wrote:
Sorry for my bad english I`m a german boy Wink
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 Sad.

In hopeful for Help

n00By Very Happy


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
View user's profile Send private message Visit poster's website
n00By is sexy
Voice


Joined: 10 Aug 2005
Posts: 6

PostPosted: Sat Aug 13, 2005 7:49 am    Post subject: Support TCL Reply with quote

Yes thank you. I found one Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber