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

by game_over
Tue Nov 18, 2008 2:05 pm
Forum: Script Requests
Topic: "Crack the code" game - only for user with voice
Replies: 10
Views: 5885

Code: Select all

if {$tls_chan != $chan} { return }
to

Code: Select all

if {[isvoice $nick $chan]!=0} {return 0}
for all procs :)
by game_over
Tue Nov 11, 2008 12:18 pm
Forum: Scripting Help
Topic: id number per file
Replies: 7
Views: 4107

I know another way set directory "txts/" #only txt files :) set pattern "*.txt" if {[catch {glob "${directory}${pattern}"} files]} { return "No files in this dir" } else { if {[string match "*[info script]*" $files]} { set listOffilesInThistDir [expr...
by game_over
Tue Nov 04, 2008 5:08 pm
Forum: Scripting Help
Topic: regexp?
Replies: 1
Views: 1794

you have to know where is the word example: word word word word word word word word word1 word word word i search where in my file i have word1 set hcs [open $file r]; set scorefile [split [read $hcs] "\n"]; close $hcs foreach newscore $scorefile { if {[lindex $newscore 0] == "word1&q...
by game_over
Thu Oct 30, 2008 11:12 am
Forum: Script Requests
Topic: incomming Mail forward to a bot
Replies: 4
Views: 2349

I try pop3 connection on a mail server before. But i have success whit pop3 without TLS (Transport Layer Security) this is communication protocol to some servers like pop.gmail.com On simple pop3 servers (you have to search email whit no TLS connection) works perfect POP3 and SMTP. here exaple (unfi...
by game_over
Fri Sep 19, 2008 10:45 am
Forum: Scripting Help
Topic: playing a sound when triggered
Replies: 1
Views: 2424

I can tell you how this may happen on WINDOWS write on your cmd this sndrec32 /play /close C:\Windows\Media\Notify.wav now on tcl :example: set sound "C:/Windows/Media/Notify.wav" set playsound [exec sndrec32 /play /close $sound] on LINUX http://linux.about.com/library/bl/open/newbie/blnew...
by game_over
Sun Sep 14, 2008 6:06 am
Forum: Scripting Help
Topic: script problem
Replies: 6
Views: 4230

if this ip can see ftom other networks. Looks like default windows ip xD

Code: Select all

C:\Documents and Settings\gameover>telnet 192.168.1.2 27015
Connecting To 192.168.1.2...Could not open connection to the host, on port 27015
: Connect failed
by game_over
Sat Aug 30, 2008 6:16 am
Forum: Script Requests
Topic: !ucount
Replies: 5
Views: 4615

Okey I just tryed something maybe it is very nub or completly incorrect. But this doesn't work :'(

Code: Select all

proc ucount { nick uhost hand chan text } { 
to

Code: Select all

proc ucount { nick uhost hand channel text } { 
by game_over
Fri Aug 29, 2008 2:49 pm
Forum: Scripting Help
Topic: Help with one of my script..
Replies: 26
Views: 21009

That looks alot better :) Personally, I'd find an equation such as win/(win+loss) more intuitive, but since ultralord requested win/loss, your approach to avoid division by zero is reasonable. Could probably skip setting win to 1, as win is the nominator, not the denominator. Though in either case,...
by game_over
Fri Aug 29, 2008 12:31 pm
Forum: Scripting Help
Topic: Help with one of my script..
Replies: 26
Views: 21009

I forgot read command :lol: but i tell you this i same example. I see you want all. Only insert this bind join - * maching proc maching {nick host hand chan} { global g_losestats g_pickupchan g_winstats if {$g_pickupchan != $chan} {return 0} set findwin 0 set findlose 0 set searchwin [split [read [o...
by game_over
Fri Aug 29, 2008 6:38 am
Forum: Scripting Help
Topic: Help with one of my script..
Replies: 26
Views: 21009

Game_over: First off, your file handling is incorrect... Doing a foreach-loop on a filehandle will not yield the result you expect. Next, I can't even imagine the purpose of the lindex commands, or how you expect that code to produce a tally of wins/losses... Finally, properly indenting the code wo...
by game_over
Thu Aug 28, 2008 7:23 am
Forum: Scripting Help
Topic: string generator help!
Replies: 1
Views: 2824

see string map

Code: Select all

set new_word_list [string map {"word" "*"} $list_of_words]
by game_over
Fri Aug 22, 2008 8:11 am
Forum: Scripting Help
Topic: Help with one of my script..
Replies: 26
Views: 21009

i only show you example this is not realy finished script first you may have bind bind join - * maching and realy working proc proc maching {nick host hand chan text} { second in line you have to write realy working mode putquick "MODE $chan +v $nick" i just post you example without strict...
by game_over
Fri Aug 22, 2008 5:58 am
Forum: Scripting Help
Topic: Help with one of my script..
Replies: 26
Views: 21009

something like this :) set way1 "/home/ultralord/www/dota/g_winstats.txt" set way2 "/home/ultralord/www/dota/g_losestats.txt" bind *something* join or whatever or some proc proc maching {nick host chan ......} { global way1 way2 set findwin "" set findlose "" ...
by game_over
Sat Aug 16, 2008 7:47 am
Forum: Script Requests
Topic: restart every day
Replies: 6
Views: 3949

Code: Select all

bind time - {00 00 * * *} time:restart
proc time:restart {m h d m y} {
restart
}
:roll:
if you run your bot in "-n" mode restart is impossible :)