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

by tomekk
Thu Aug 20, 2009 2:38 pm
Forum: Script Support & Releases
Topic: interviewer-addon
Replies: 0
Views: 4381

interviewer-addon

interviewer-addon Simple and easy to configure interview-addon script. Script can work like standalone script or it can be include in your own script (I think the second option is better/easier. Example below.) Script supports multiuser mode. You can add new questions without rewriting the script. ...
by tomekk
Wed Aug 19, 2009 4:40 am
Forum: Script Requests
Topic: MySQL Profile Script
Replies: 21
Views: 21318

hi,

Which fields do you need there?

-age
-from aka location
-sex

what else?
I will make db for you, will be easier and faster.
by tomekk
Mon Aug 17, 2009 9:28 am
Forum: Scripting Help
Topic: Remove character
Replies: 1
Views: 3117

Code: Select all

set a "word"

puts [string range $a 1 end]

Code: Select all

set a "word"

regsub {[^.]} $a "" a

puts $a

Code: Select all

set a "word"

set a [join [lrange [split $a {}] 1 end] ""]

puts $a
[tomekk@zonk]:~# ./zonk.tcl
ord
ord
ord
by tomekk
Mon Aug 17, 2009 5:04 am
Forum: Script Requests
Topic: user profile script
Replies: 65
Views: 72234

0.4 with !list command: # Author: tomekk # e-mail: tomekk/@/oswiecim/./eu/./org # home page: http://tomekk.oswiecim.eu.org/ # # Version 0.4 # # This file is Copyrighted under the GNU Public License. # http://www.gnu.org/copyleft/gpl.html # channels for !setup set setup_chans {#channel #channel2} # d...
by tomekk
Mon Aug 17, 2009 4:05 am
Forum: Script Requests
Topic: MySQL Profile Script
Replies: 21
Views: 21318

OK, I'm back. here is current config header of interviewer-addon ver 0.1b: # if you want to use commands from this script on your chan, type in eggdrop console (via telnet or DCC chat) # .chanset #channel_name +intadd # and later .save # interviewer-addon config <cut> # autostart of 'questions', wit...
by tomekk
Sat Aug 08, 2009 7:47 am
Forum: Script Requests
Topic: user profile script
Replies: 65
Views: 72234

i'm not able to test it cause i'm far far away from desktop PC, but, change this line: bind pub - "*" pm_proc to bind pubm - "*" pm_proc and later, cause i forget to join one list: set profile_new_data [lrange $split_args 2 end] to set profile_new_data [join [lrange $split_args 2...
by tomekk
Thu Aug 06, 2009 8:01 am
Forum: Script Requests
Topic: MySQL Profile Script
Replies: 21
Views: 21318

I left this script and in da night, I made new one, I have no time to finish it now, but I can show you how it works I wrote "interviewer-addon" its a script which can !setup new profile and ask some questions and thats all, all other stuff like !view or something else you have to make at ...
by tomekk
Wed Aug 05, 2009 3:41 pm
Forum: Script Requests
Topic: MySQL Profile Script
Replies: 21
Views: 21318

yeah I know, that system is horrible

I'm going on vacation for a week tomorrow,
I will try to rewrite it when i'll be back and I will try to make some pseudo session manager for multiuser !setup etc.
by tomekk
Tue Aug 04, 2009 2:12 pm
Forum: Script Requests
Topic: MySQL Profile Script
Replies: 21
Views: 21318

some long time ago i wrote something similar to this, i made it for clan of lineage2 players script needs edit option and profile delete option controled by user, because in this state only OP can drop profile from the database by typing !drop <profile_name> some examples: 19:52:40 <@player1> !setup...
by tomekk
Tue Aug 04, 2009 1:46 pm
Forum: Script Requests
Topic: Webchat.tcl
Replies: 4
Views: 2552

try: # channel set irc_chan "#channel" # html file set channel_file "/home/www/chat.html" # max lines number set output_lines 20 ##################################################33 bind pubm -|- "*" log_channel if {![file exists $channel_file]} { set create_new [open $...
by tomekk
Tue Aug 04, 2009 4:49 am
Forum: Script Requests
Topic: Webchat.tcl
Replies: 4
Views: 2552

try: set chat_setting(chan) "#kupa" set chat_setting(file) "/home/www/chat.html" set chat_setting(temp) "/home/www/chat.tmp" if {![file exists $chat_setting(file)]} { set filehand [open $chat_setting(file) w] puts -nonewline $filehand "" close $filehand } bind...
by tomekk
Tue Jul 28, 2009 2:47 pm
Forum: Script Requests
Topic: TCL $variable behind URL ??
Replies: 3
Views: 2154

Code: Select all

http::geturl $url
and see the ::http::formatQuery
http://tmml.sourceforge.net/doc/tcl/http.html
by tomekk
Sun Jul 26, 2009 2:54 pm
Forum: Script Requests
Topic: tcl connection
Replies: 2
Views: 2041

example: set port 1234 set host 127.0.0.1 ########################################### bind evnt - prerehash prerehash_proc set s_socket [socket -server socket_proc -myaddr $host $port] proc prerehash_proc { type } { global s_socket close $s_socket } proc socket_proc { sock host port } { fconfigure $...
by tomekk
Wed Jul 22, 2009 4:05 am
Forum: Script Requests
Topic: Join Room Script (Modify)
Replies: 4
Views: 3080

That won't work, as "channel set" (contrary to "channel add") expects each setting as a separate argument rather than a list of settings. The two examples below should work though (and also illustrates the difference between channel set and channel add ...proc msg:join {nick uho...
by tomekk
Tue Jul 21, 2009 5:07 pm
Forum: Script Requests
Topic: Join Room Script (Modify)
Replies: 4
Views: 3080

Re: Join Room Script (Modify)

try: set chan_sets "+weather +horoscope +alice" ################################################# bind MSG -|- "join" msg:join bind MSG -|- "part" msg:part proc msg:join {nick uhost handle text} { global chan_sets set chan [lindex [split $text] 0] channel add $chan chan...