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 

Helpdesk?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
mikkeldk
Voice


Joined: 15 Mar 2008
Posts: 7

PostPosted: Sun Mar 16, 2008 6:46 am    Post subject: Helpdesk? Reply with quote

Hello all again Smile

I will ask .. For Where can i find Helpdesk to Script?
Only to ex: #Mychan.help
And i use: !online
And This Admin are Online and this bot will voice one to helping
and i maybe say: Whats problem??
where can i find or make?
Back to top
View user's profile Send private message
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Sun Mar 16, 2008 6:56 am    Post subject: Reply with quote

take look this.

http://forum.egghelp.org/viewtopic.php?t=15304&highlight=waffles
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
mikkeldk
Voice


Joined: 15 Mar 2008
Posts: 7

PostPosted: Sun Mar 16, 2008 7:12 am    Post subject: Reply with quote

Nor7on wrote:
take look this.

http://forum.egghelp.org/viewtopic.php?t=15304&highlight=waffles


<- Its Dont working!!!
Back to top
View user's profile Send private message
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Sun Mar 16, 2008 8:03 am    Post subject: Reply with quote

try

Code:

###

# trigger
set waffles(cmd) "!admin"

# Admins list
set waffles(list) "admin1 admin2"

###

bind pub - $waffles(cmd) pub:needadmin

proc pub:needadmin { nick host hand chan arg } {
  global waffles
  set counter 0
  foreach ad [split $waffles(list)] {
     if {[onchan $ad $chan]} {
         putquick "PRIVMSG $ad :\037$nick\017 Necesita la Ayuda de Un Admin."
         incr counter
     }
  }

  if {$counter == 0} {
     putquick "PRIVMSG $chan :Lo Siento $nick, No hay ningun Admin Online."
  } else {
     putquick "PRIVMSG $chan :$nick, tu petición ha sido enviada a la administración. Por Favor espera."
  }

}


this code work on my channel.

good luck.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
mikkeldk
Voice


Joined: 15 Mar 2008
Posts: 7

PostPosted: Sun Mar 16, 2008 8:54 am    Post subject: Reply with quote

Nor7on wrote:
try

Code:

###

# trigger
set waffles(cmd) "!admin"

# Admins list
set waffles(list) "admin1 admin2"

###

bind pub - $waffles(cmd) pub:needadmin

proc pub:needadmin { nick host hand chan arg } {
  global waffles
  set counter 0
  foreach ad [split $waffles(list)] {
     if {[onchan $ad $chan]} {
         putquick "PRIVMSG $ad :\037$nick\017 Necesita la Ayuda de Un Admin."
         incr counter
     }
  }

  if {$counter == 0} {
     putquick "PRIVMSG $chan :Lo Siento $nick, No hay ningun Admin Online."
  } else {
     putquick "PRIVMSG $chan :$nick, tu petición ha sido enviada a la administración. Por Favor espera."
  }

}


this code work on my channel.

good luck.


Can u not set it to english? I hater Spain Smile
Back to top
View user's profile Send private message
Nor7on
Op


Joined: 03 Mar 2007
Posts: 185
Location: Spain - Barcelona

PostPosted: Sun Mar 16, 2008 9:52 am    Post subject: Reply with quote

use a translate spanish to english: www.world.altavista.com

trouble solved.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon Mar 17, 2008 1:14 am    Post subject: Reply with quote

Code:
# -> trigger
set waffles(cmd) "!admin"

# -> Admins list
# can be 1, 2, 3 or 50,000 nicks, there is no limit but your own imagination
# if more than one, seperate each by a single space.
set waffles(list) "admin1 admin2 etc etc"

# -> Message type
# 0 for private message, or 1 for notice
set waffles(type) 1

### end config, changes beyond not advised

bind pub - $waffles(cmd) pub:needadmin

proc pub:needadmin { nick host hand chan arg } {
    global waffles
    if {$waffles(type) == 0} {
        set adtype "PRIVMSG"
    } else {
        set adtype "NOTICE"
    }
    if {$arg != ""} {
        set adreason " Reason: [join [lrange [split $arg] 0 end]]"
    } else {
        set adreason ""
    }
    foreach ad [split $waffles(list)] {
        if {[onchan $ad]} {
             set flagtrap 1
             # puthelp is used here because (potentially) we jested above
             # about putting 50,000 nicks, some people may take that
             # seriously. puthelp queue can handle it without flooding bot.
             # changing this to putquick or putserv is ill advised.
             puthelp "$adtype $ad :\002$nick\002 requires assistance from an admin on $chan.$adreason"
        }
    }
    if {[info exists flagtrap]} {
        putserv "$adtype $nick :$nick, your request has been sent to the admins, please wait for assistance."
    } else {
        putserv "$adtype $nick :Sorry $nick, the admins are unavailable at this time. Try again later."
    }
}

In English. I've also added an option for privmsg or notice. As well as the ability for users to give a help reason.

With message type 1, notice, it would work like this...
someone types: <nick> !admin
you would see: -bot- nick requires assistance from an admin on #channel.
someone types: <nick> !admin i need help with my friend getting unbanned please
you would see: -bot- nick requires assistance from admin on #channel. Reason: need help with my friend getting unbanned please
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests 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