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 85 matches

by krimson
Tue Jun 27, 2006 10:38 am
Forum: Scripting Help
Topic: need to change Bad channel bantype.
Replies: 3
Views: 3632

i really don't think you can feel the difference in execution speed with this change :) but why do you want another method of obtaining the ban? you already posted the fastest and simplest way one can use for this task
by krimson
Tue Jun 27, 2006 1:59 am
Forum: Scripting Help
Topic: need to change Bad channel bantype.
Replies: 3
Views: 3632

you splited and got the host.ip part of the uhost correctly, but you could just return it, without writing it to $uhost before

Code: Select all

proc bmaskhost {uhost} {
  return "*!*@[lindex [split $uhost @] 1]"
}
by krimson
Mon Jun 19, 2006 10:42 am
Forum: Scripting Help
Topic: Getting first Line of a on-the-web-located file
Replies: 16
Views: 11771

you don't need all those args if you're calling the proc in a timer. the reason why the script doesnt work is that you call the proc with no args, while it requires 'n u h c t' as arguments. you either give all the params when calling the proc, or you use the following code: set chan "#change_t...
by krimson
Fri Jun 16, 2006 1:43 am
Forum: Script Requests
Topic: .commands replies with .website .other .other
Replies: 11
Views: 6184

first of all, you don't need to use the line

Code: Select all

set chan [string tolower $chan]
second, i've just tested it (without the above mentioned line), and works well, no matter if the eggdrop knows that user or not.
by krimson
Thu Jun 15, 2006 4:33 pm
Forum: Script Requests
Topic: .commands replies with .website .other .other
Replies: 11
Views: 6184

did you change the -|- part in

Code: Select all

bind pub -|- .command pub:dscmd
to something else? if you want the command to be available to everybody, you should leave it to -|-
by krimson
Thu Jun 15, 2006 3:48 pm
Forum: Script Requests
Topic: .commands replies with .website .other .other
Replies: 11
Views: 6184

1. of course you're the only one who sees .commands. # this sends you a NOTICE with the text blablabla putserv "NOTICE $nick blablabla" 2. if you want the text to go to the channel, you should replace putserv "NOTICE $nick blablabla" # with putserv "PRIVMSG $chan blablabla&q...
by krimson
Wed Jun 14, 2006 6:13 am
Forum: Script Requests
Topic: eggdrop blacklist
Replies: 1
Views: 2509

you could try banning those classes (remember that ban supports wildcards) instead of loading a script
by krimson
Wed Jun 14, 2006 3:33 am
Forum: Scripting Help
Topic: Bracket Conflict [SOLVED]
Replies: 2
Views: 4467

replace any [ you have (and don't want to use for evaluation) with \[
by krimson
Wed May 31, 2006 3:36 pm
Forum: Scripting Help
Topic: mysql instead of flat-file data storage?
Replies: 1
Views: 3019

mysql instead of flat-file data storage?

Hello, I am trying to make the eggdrop save all it's user and chan info to a mysql database instead of using it's standard flat-file storage. the reason for this attempt is that i want to make user/chan info less shell dependant (i had some problems with some shell providers in the past and lost a l...
by krimson
Sun May 28, 2006 1:35 pm
Forum: Scripting Help
Topic: whats wrong with this?
Replies: 2
Views: 3642

it should be:

Code: Select all

bind part - "#channel *" part_chan1

proc part_chan1 {nick uhost hand channel {msg ""}} {
     putserv "notice $nick :bla bla bla msg bla bla bla"
}
by krimson
Sat May 27, 2006 12:41 pm
Forum: Script Requests
Topic: Read xml file
Replies: 17
Views: 13599

php code is parsed by the webserver's php interpretor and outputs html.

any html parser script would do.
by krimson
Fri May 26, 2006 1:31 am
Forum: Script Requests
Topic: factbot based on chuck norris script
Replies: 10
Views: 6612

$read(filename, [ntswrp], [matchtext], [N]) Returns a single line of text from a file. This identifier works in conjunction with the /write command. //echo $read(funny.txt) Reads a random line from the file funny.txt. [........] If the n switch is specified then the line read in will not be evaluat...
by krimson
Wed May 24, 2006 2:03 pm
Forum: Script Requests
Topic: script request
Replies: 10
Views: 6437

i missed some closing brackets. here's the corrected code + !adduser: bind pub -|- !age pub:age bind pub -|- !adduser pub:add:age set userjoindata "" proc pub:add:age {nick uhost hand chan text} { if {[llength $text] > 1} { puthelp "PRIVMSG $chan :You were supposed to add a nick.. not...
by krimson
Wed May 24, 2006 4:26 am
Forum: Script Requests
Topic: script request
Replies: 10
Views: 6437

i think this should work. if something's wrong, leave a reply and i'll try to fix it this evening. now i got to go to school :roll: bind pub -|- !age pub:age bind join -|- "#chan *" add:age set userjoindata "" proc add:age {nick uhost hand chan} { if {![lsearch $::userjoindata $n...
by krimson
Wed May 24, 2006 1:48 am
Forum: Script Requests
Topic: script request
Replies: 10
Views: 6437

does offline time count or not?