This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Looking For Special Voice Script

Old posts that have not been replied to for several years.
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Looking For Special Voice Script

Post by TRaSH »

I'm Looking for a script that has the ability to voice people who are running a Fserver or a XDCC.
It should do a !list in a timed interval and (De)Voice people when they are serving or not.

I've got a script that does it with mirc but then i've always to be online.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

In case you haven't noticed the forum rules, you won't get helped with the XDCC bots due an known reason. There is no need to specify it cos I'm shure you know it. Anyway, before posting an question try looking for an anser by browsing the forum. You may also try the Search function of the forum, I'm shure you'll find something usefull.
Once the game is over, the king and the pawn go back in the same box.
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Post by TRaSH »

I think you didn't read my question right or don't understand what i'm looking for.
I'm not asking how to make a xdcc bot,
My question i about a script that does at a time interval a !list and voices fservers or people who are running a XDCC/TDCC server
Also i tried the search option and the only thing you can find is about a autovoice script that voices everybody who joines or when the add is showing
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Code: Select all

bind time - "?0 *" do:list 

proc do:list {min hour day month year} { 
  putserv "PRIVMSG #channel :!list" 
}
will make it say !list every 10 minutes. What reply will it recive? I mean how do you know what bots should be voiced?
Once the game is over, the king and the pawn go back in the same box.
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Post by TRaSH »

Something of a part of the add
like this:
*File Server*Trigger*
*Fserve Active*Trigger*
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

Currently this is another script i am working on Aniverse. I know that Tiver in #rg has a script, self scripted by the owner, FalconX, that is fully operational.

He basically uses lots of different notc binds (no pubm binds as in channel advertising isnt allowed) with all the different fserve versions. If yu get the standard headers from the different and most popular fserve scripts, and then bind it to the first word or two of the first message given out, and that should work.

time bind will be needed first, to get the bot to keep !listing :)

Hope that helps
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Code: Select all

bind pubm * "*File Server*Trigger*" give:voice
bind pubm * "*Fserve Active*Trigger*" give:voice

proc give:voice {nick uhost hand chan args} {
  if {[botisop $chan] && ![isvoice $nick $chan]} {
    pushmode $chan +v $nick
  }
}
should work..
Once the game is over, the king and the pawn go back in the same box.
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Post by TRaSH »

So If i wanted to only respond on silent Fservers,
and do a List every 10 minutes
i whould do something like this ? (Sorry i'm not really into scripting).

bind time - "10 *" do:list

proc do:list {min hour day month year} {
putserv "PRIVMSG #channel :!list"
}

bind notc * "*File Server*Trigger*" give:voice
bind notc * "*Fserve Active*Trigger*" give:voice

proc give:voice {nick uhost hand chan args} {
if {[botisop $chan] && ![isvoice $nick $chan]} {
pushmode $chan +v $nick
}
}
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

use the bind time exactly like this:

Code: Select all

bind time - "?0 *" do:list 
for a 10 minutes !list command on channel.
Once the game is over, the king and the pawn go back in the same box.
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Post by TRaSH »

could you explain to me more about the timing of it
if
bind time - "?0 *" do:list
is 10 minutes what would be 15 ?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

? stands for an number 0 to 6 (in this case) and for a 15 minutes should be something like:

Code: Select all

bind time - "00 *" do:list
bind time - "15 *" do:list
bind time - "30 *" do:list
bind time - "45 *" do:list
Once the game is over, the king and the pawn go back in the same box.
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Post by TRaSH »

okay so if i would like to have the bot do a !list every 15 minutes and voice people who are runnig a fserver

bind time - "15 *" do:list

proc do:list {min hour day month year} {
putserv "PRIVMSG #channel :!list"
}

bind notc * "*File Server*Trigger*" give:voice
bind notc * "*Fserve Active*Trigger*" give:voice

proc give:voice {nick uhost hand chan args} {
if {[botisop $chan] && ![isvoice $nick $chan]} {
pushmode $chan +v $nick
}
}

but is it also posible to unvoice people who stop serving ?
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

TRaSH wrote:okay so if i would like to have the bot do a !list every 15 minutes and voice people who are runnig a fserver

bind time - "15 *" do:list
That's NOT what he said... the mask in the time bind is matched against the minutes, hours, days etc, so using only that one bind would make it trigger 15 minutes past every hour.
T
TRaSH
Halfop
Posts: 56
Joined: Wed Feb 26, 2003 3:38 pm
Location: #Anime-Supreme

Post by TRaSH »

oh i see, (i Think)
so if i wanted that it checks every 15 minutes i have to add this to it

bind time - "00 *" do:list
bind time - "15 *" do:list
bind time - "30 *" do:list
bind time - "45 *" do:list
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

You got it! :)
Once the game is over, the king and the pawn go back in the same box.
Locked