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.

Search found 64 matches

by spyda
Sun Jul 13, 2003 12:57 am
Forum: Archive
Topic: cycle code
Replies: 11
Views: 3004

Misread

Sorry I wrote something else.. and it was not what he wanted so I deled it

:|

----------
ThePope
by spyda
Mon Jun 23, 2003 11:29 pm
Forum: Archive
Topic: notice protection
Replies: 8
Views: 2134

Quote ceasar..
set mask [maskhost [getchanhost $luser [strlwr $dest]]
chage it to..

Code: Select all

set mask [maskhost [getchanhost $luser [strlwr $dest]]]
Hope the helps.
-----------
ThePope
by spyda
Sat Jun 21, 2003 6:02 pm
Forum: Archive
Topic: highscores
Replies: 1
Views: 894

Good idea... But try this!

With what you have said about your problem, I did a sort file for my trivia chan and i used this method. set ofile [open $filename r] set ranks [lsort -dict -decreasing [split [gets $ofile]]] close $ofile With using this code. You will need to change the way the data is entered in the file... Meks.....
by spyda
Sat Jun 21, 2003 10:07 am
Forum: Archive
Topic: Need help with !quote script
Replies: 2
Views: 1033

Hope this Helps

bind pub - !quote pub_quote proc pub_quote {nick mask hand channel args} { global moviequote puthelp "PRIVMSG $channel :[lindex $moviequote [rand [llength $moviequote]]]" } set moviequote { "\"You're scared of Room 237, ain't ya?. The Shining (1980)\"" "\"Som...
by spyda
Sat Jun 21, 2003 10:03 am
Forum: Archive
Topic: Starting a Value to count.
Replies: 1
Views: 734

Starting a Value to count.

Hi all again.. Lost all my data, so i have started my TCL's again! Got a little problem with timers. Try to set a value to count in milliseconds until stop and changed into real time. But everytime it goes and exec it.. I get a error :cry: proc status:evnt:connect {filter} { if {![info exits $testup...
by spyda
Mon Apr 21, 2003 2:31 am
Forum: Archive
Topic: Removing '*** ThePope joined the party line'
Replies: 1
Views: 860

Removing '*** ThePope joined the party line'

I have been looking for a way to remove the line '*** ThePope joined the party line' when a person joins the DCC partyline.

Didn't find any dcc command to turn it off and I am not sure about editing the files to do it.

Thanks for anyhelp anyone has.

------------
ThePope
by spyda
Sat Mar 22, 2003 8:12 am
Forum: Archive
Topic: Special Char problems.
Replies: 1
Views: 863

Special Char problems.

Lame as much as it is.. I have been working on a like chan TCL for over botnet. linking two channels on different networks.. I am having problems with TCL exp. ({}[]) coming over the network msg. EG Network 1. [23:09] <Kissmine> testing [23:09] <Kissmine> {} [] Network 2. [23:09] <Asustek> Kissmine ...
by spyda
Fri Jan 17, 2003 8:23 pm
Forum: Archive
Topic: Just a little question
Replies: 3
Views: 1736

Sorry you have miss understanded me

Sorry I was talking about taking the value from the configure file and puting it into TCL... eg: proc testproc {} { global botnick puthelp "PRIVMSG ThePope :$botnick" } That will allow for me to use $botnick. BUT.. when I try and replace the $botnick with $botnet-nick. The bot crashs! proc...
by spyda
Fri Jan 17, 2003 8:11 pm
Forum: Archive
Topic: Just a little question
Replies: 3
Views: 1736

Just a little question

Merry Xmas all and Happy New Year. Finally got some time to do some more scripting..... :) I am just making a http live stats TCL. The question that I have is mostlikly stupid, but I cant find the value. set botnet-nick "PopeOp" set botnick "PopeBot" I know how to pull the $botni...
by spyda
Fri Nov 15, 2002 5:57 am
Forum: Archive
Topic: Encrypter Problems
Replies: 3
Views: 1167

another problem!

When a nick has of course {}()_ or any of them other ones.. I have been working on my script and still cant make it take the {} from around value for the last two days.. I have come to my last idea! while {$asus_number <= [string length [lrange $msg 0 end]]} { set asus_key [string index [split $asus...
by spyda
Fri Nov 08, 2002 7:39 pm
Forum: Archive
Topic: Encrypter Problems
Replies: 3
Views: 1167

Encrypter Problems

I started to write a encrption program that will work with my mirc one. But i cant get it to tell me what the number of the $chr is. Mirc. : $calc($asc($mid($1-,%enc.letter,1))+$asc($left(%key,1)) Tcl : [expr [string index [split $vasus] $asus_quest]]] + [string index [split $vasus] 0]]] But i cant ...
by spyda
Sat Oct 12, 2002 10:13 am
Forum: Archive
Topic: Utimer question
Replies: 8
Views: 2536

Hmm.

utimer <seconds> <tcl-command> Description: executes the given Tcl command after a certain number of seconds have passed Returns: a timerID Module: core Ok. havn't realy worked with timers much. But I will give it a go! I am not sure how many ways you can use a timer, but there is one way that I kn...
by spyda
Sat Oct 12, 2002 10:05 am
Forum: Archive
Topic: reading lines from a file
Replies: 7
Views: 2211

This might help.

To start with you need to set where the file is on the box set file "/path/to/where/it/is" That will tell the eggdrop where the file is located, and is set to a global value but can also be done within the script too. Next is to open the file read the data and set it in a string so that yo...
by spyda
Sat Oct 12, 2002 9:53 am
Forum: Archive
Topic: searching the userlist
Replies: 5
Views: 1691

Basic Coding

foreach asus_nick [userlist] { if {[getuser $asus_nick HOSTS] == [lindex [split $text] 0]} { #do what you want it to do if the host matchs } That will do a search for all the hosts and every nick in the user file, then match it to the value you set with /msg $botnick search text. ------------ ThePope
by spyda
Fri Oct 11, 2002 9:37 pm
Forum: Archive
Topic: Opening a DCC...
Replies: 5
Views: 1583

Try This

set asus(port) "8000" bind MSG - dcc_chat asus_dcc proc asus_dcc {nick uhost hand vasus} { global asus botnick ## Do all ya check stuff here## ## ![validuser $hand] ## putserv "PRIVMSG $nick :\001DCC CHAT chat [myip] $asus(port)\001" } listen $asus(port) script asus_catch proc a...