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

by kris
Sun Nov 12, 2006 11:58 pm
Forum: Scripting Help
Topic: Random Number Text
Replies: 1
Views: 2105

Random Number Text

it sets it, and does most of it but it doesnt reply to the number, any ideas? Thanks for your help guys :) bind pub "-|-" `numbers msg_number proc msg_number { nick host hand chan text } { putquick "PRIVMSG $chan :\00307\002\037(\037\002\00304$nick has started The Number Guessing Game...
by kris
Sun Nov 05, 2006 10:51 pm
Forum: Scripting Help
Topic: List Text in a file [Solved]
Replies: 2
Views: 2472

no the last one was deleting text from a file. this one isnt this is making it loop and list all the nicks in the file, because im designing a e-Marriage service. and one of my admins had said, why dont we do this. and i started doing it, and it doesnt remove the text, just lists it. completely diff...
by kris
Sun Nov 05, 2006 12:37 pm
Forum: Scripting Help
Topic: help on a greeting script.
Replies: 3
Views: 4347

i hope you know thats mIRC not TCL. this is TCL bind pub "-|-" !commands msg_command proc msg_command { nick chan host handle text } { putquick "NOTICE $nick :TEXT" } that'll work, but its not hard, ill explain for you. bind = tells the eggdrop that a command is starting. proc = ...
by kris
Sun Nov 05, 2006 12:07 pm
Forum: Scripting Help
Topic: List Text in a file [Solved]
Replies: 2
Views: 2472

List Text in a file [Solved]

bind msg "-|-" married msg_married proc msg_married { nick userhost handle text } { set file "marriage.role" set found 0 set fs [open $file r] while {![eof $fs]} { gets $fs line putquick "NOTICE $nick :$line and $line" } close $fs } i want it to come out as: e.g: kris ...
by kris
Tue Oct 03, 2006 3:13 am
Forum: Scripting Help
Topic: Stuck with Remove Text from file
Replies: 6
Views: 4887

metroid wrote:Your script makes no sense. You should at the very least know what your script is doing.
i do know :) it reads the file, and ment to delete the text and move all the other text to where it is
by kris
Mon Oct 02, 2006 11:47 am
Forum: Scripting Help
Topic: Stuck with Remove Text from file
Replies: 6
Views: 4887

ok, im reading the manual -delenick and deletext are deleted. -code brackets done. Code: et mrryrole "/home/kris/Love/eggdrop/marriage.role" bind msg "-|-" divorce msg_divorce proc msg_divorce { nick userhost handle text } { set file "/home/kris/Love/eggdrop/marriage.role&qu...
by kris
Mon Oct 02, 2006 8:36 am
Forum: Scripting Help
Topic: Stuck with Remove Text from file
Replies: 6
Views: 4887

Stuck with Remove Text from file

bind msg "-|-" divorce msg_divorce proc msg_divorce { nick userhost handle text } { set file "/home/kris/Love/eggdrop/marriage.role" set delete 0 set lines 0 set deletnick $nick set deletext $text set lines [lreplace $lines $nick $text] set fp [open $file "w"] puts $fp...
by kris
Mon Oct 02, 2006 12:47 am
Forum: Scripting Help
Topic: [Solved] Love Marriage Command
Replies: 9
Views: 9015

the bot sets files as

nick1
nick2

now, and i want it to remove nick1 & nick2, so ill read that site
by kris
Sun Oct 01, 2006 5:18 am
Forum: Scripting Help
Topic: [Solved] Love Marriage Command
Replies: 9
Views: 9015

ok..

SO does that website say anything about deleting text from a file?
by kris
Fri Sep 29, 2006 5:14 am
Forum: Scripting Help
Topic: [Solved] Love Marriage Command
Replies: 9
Views: 9015

Ergh?

How is that ment to help?, also i need help with another part. bind msg "-|-" !femaleaccept msg_acceptf proc msg_acceptf { nick userhost handle text } { set mrryrole "/home/kris/Love/eggdrop/marriage.role" global msg_acceptf set stripped $text set qot_fd [open $mrryrole a+] puts ...
by kris
Fri Sep 29, 2006 1:56 am
Forum: Scripting Help
Topic: [Solved] Love Marriage Command
Replies: 9
Views: 9015

Spelling error

exsists? we fixed that, my admins found it and showed me it. set mrryrole "/home/kris/Love/eggdrop/marriage.role" bind msg "-|-" propose msg_propose proc msg_propose { nick userhost handle text } { if {![file exists $mrryrole]} { puthelp "NOTICE $nick :Error: #3001 Please em...
by kris
Thu Sep 28, 2006 12:51 am
Forum: Scripting Help
Topic: [Solved] Love Marriage Command
Replies: 9
Views: 9015

[Solved] Love Marriage Command

set mrryrole "/home/kris/Love/eggdrop/marriage.role" bind msg "-|-" propose msg_propose proc msg_propose { nick userhost handle text } { if {![file exsits $mrryrole]} { puthelp "NOTICE $nick :Error: #3001 Please email kris0089@gmail.com for more help." return } else { ...
by kris
Tue Sep 12, 2006 9:50 pm
Forum: Scripting Help
Topic: Random Text Grabber [Solved]
Replies: 4
Views: 4412

thanks.

ill have a look, ill see what there is to fix, if their is another one ill remove it, ive made a few different ones, but ill try.

Kris
by kris
Tue Sep 12, 2006 10:51 am
Forum: Scripting Help
Topic: Random Text Grabber [Solved]
Replies: 4
Views: 4412

Random Text Grabber [Solved]

Basically, it grabs the text from the variable and displays it, its a simple love script. bind pub -|- `random pub_random proc pub_random {nick host hand channel text} { global reply putquick "PRIVMSG $channel \00306* $nick would like to send $text :[lindex $reply [rand [llength $reply]]]"...