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 1 match

by Burke-1
Wed Mar 28, 2012 2:25 pm
Forum: Script Requests
Topic: Reading from .txt file
Replies: 0
Views: 2039

Reading from .txt file

set sex "./sex.txt" bind pub - !sex sex:msg proc sex:msg {nick uhost hand chan arg} { global sex set sexmsg [string range [randomline $sex] 0 end] puthelp "privmsg $chan :$sexmsg" } proc randomline f { set data [split [read [set file [open $f]]][close $file] \n] set position [ra...