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 

count and kick script needed..

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


Joined: 10 Oct 2005
Posts: 100
Location: UK

PostPosted: Fri Mar 03, 2006 10:18 pm    Post subject: count and kick script needed.. Reply with quote

Ok i know i have asked for something like this before and not got anywhere but i have a bit more info this time and i dont think it will be 2 hard for you guys...

What i need is this, the bot to act on the command !count, on this command it should count down from say.. 15 and then execute this script...
Code:

bind pub n !kick kicksource

proc kicksource {nick host handle chan text} {
#ip:
set server "****"
#port:
set port "****"
#login: (wird erzeugt aus (ab ins mirc) //echo $encode(admin:PASS,m) bei
#pass auch das pass angeben ^^ und dann eintragen sonst tut das nicht
#login (get it in mirc with //echo $encode(admin:PASS,m)
set login "********"

#ab hier nixmehr ändern / don't change anything under this


set sock [socket $server $port]
puts $sock "GET /admin.cgi?mode=kicksrc HTTP/1.1"
puts $sock "User-Agent:Mozilla"
puts $sock "Host: $server"
puts $sock "Authorization: Basic $login"
puts $sock ""
flush $sock
}
putlog "sourcekick by #@homer (quakenet) loadet"



I did have this working with 2 bots, 1 did the counting then said !kick at the end, which executed the !kick script on the other bot, but when i moved servers this stopped working and only i can perform !kick.. god knows why :s

Anyway, any help with this would be very helpfull, thanks in advance Razz

P.S. That script is the kicksource.tcl by homer.[/code]
_________________
www.NT-Hosts.Net - More than just a host
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
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