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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
CyberWar
Voice
Posts: 36 Joined: Mon Feb 04, 2008 4:49 am
Post
by CyberWar » Sun Apr 20, 2008 9:45 pm
Hi all i've downloaded a vhost script and i've included that one, but how works this script?
i try to type: !vhost
bla@bla.com but the bot doesnt write back. Can some one tell me that command?
Code: Select all
##
# vHost Relay - Get_A_Fix (ashnet/abjects)
##
setudef flag vhost
set debugnick "Global"
set vhostchan "#vhost"
bind pub - !vhost chanset:vhost
proc chanset:vhost {n u h c t} {
if {[matchattr $h o]} {
if {[lindex $t 0] == "on"} {
channel set $c +vhost
puthelp "PRIVMSG $c :Enabled Vhost Relay."
}
if {[lindex $t 0] == "off"} {
channel set $c -vhost
puthelp "PRIVMSG $c :Disabled Vhost Relay."
}
}
}
bind pubm - * vhost:output
proc vhost:output {nick uhost hand chan text} {
global vhostchan debugnick
if {[lsearch -exact [split [string tolower $debugnick]] [string tolower $nick]] != -1} {
if {[lsearch -exact [channel info $chan] +vhost] != -1} {
if {([string match -nocase "*vhost*" $text]) && ([string match -nocase "*requested*" $text])} {
set requester [lrange $text 2 end]
putquick "PRIVMSG $vhostchan :\002New vHost\002: $requester"
}
if {([string match -nocase "*request*" $text]) && ([string match -nocase "*activated*" $text])} {
set requester [lindex $text 3]
set activeoper [lindex $text 6]
putquick "PRIVMSG $vhostchan :\002vHost Activation\002: $requester - Activated by: $activeoper - $requester, please type: /hostserv on"
}
if {([string match -nocase "*request*" $text]) && ([string match -nocase "*rejected*" $text])} {
set requester [lindex $text 3]
set requested [lrange $text 4 end]
putquick "PRIVMSG $vhostchan :\002vHost Rejected\002: $requester - $requested"
}
}
}
}
putlog "Loaded: vHost Relay.."
uffs
Voice
Posts: 14 Joined: Thu Apr 17, 2008 9:18 pm
Location: 6°10.5S-106°49.7E
Post
by uffs » Sun Apr 20, 2008 10:36 pm
CyberWar
Voice
Posts: 36 Joined: Mon Feb 04, 2008 4:49 am
Post
by CyberWar » Mon Apr 21, 2008 5:49 pm
doesnt work
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Mon Apr 21, 2008 8:33 pm
CyberWar wrote: doesnt work
Paste the result(s) of:
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
CyberWar
Voice
Posts: 36 Joined: Mon Feb 04, 2008 4:49 am
Post
by CyberWar » Tue Apr 22, 2008 6:33 pm
That was all
He dont write more
Get_A_Fix
Master
Posts: 206 Joined: Sat May 07, 2005 6:11 pm
Location: New Zealand
Post
by Get_A_Fix » Mon Dec 17, 2012 9:45 pm
ummm, This script explains what to do...
You type; !vhost on <- inside your #services channel, which should have logchan on - /operserv set logchan on
Then, it will pipe whatever Global output is sent to #services.
That is all the script does, relay the function that vhost has been requested/activated/rejected. I have since updated this version, my current one does a bit more.
If you want a script that does !vhost a.vhost.here.to.set .... then try a different script.
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Tue Dec 18, 2012 1:21 am
Once the game is over, the king and the pawn go back in the same box.