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
Sun Jun 19, 2011 4:03 am
Forum: Modules & Programming
Topic: isvoice on kick!
Replies: 0
Views: 12085

isvoice on kick!

Hello to everyone! I have problem with isvoice command on kick! Here simple example: bind pub - !v v:pub proc v:pub {nick uhost hand chan text} { puts "[isvoice $nick $chan]" } -> !v <- 1 kick -> !v <- 0 When i get voice and bot is in the channel code returns 1 but when i kick him and he r...
by game_over
Tue Sep 21, 2010 5:59 am
Forum: Scripting Help
Topic: Run a proc delayed
Replies: 5
Views: 3947

And why not call your procedure again. I mean proc somename {args} { .... ::http::register https 443 ::tls::socket if {![catch {set http_handle [http::geturl $the_url -binary 1 -timeout $::check(timeout)]} error]} { set http_status [http::status $http_handle] if {$http_status == "ok"} { if...
by game_over
Sun Aug 22, 2010 2:27 am
Forum: Script Requests
Topic: smart bot reply
Replies: 9
Views: 4929

try

Code: Select all

set PokeText [string map "\$nick {$nick} \$dest {$dest} \$botnick {$::botnick}" $PokeText]
by game_over
Wed Aug 11, 2010 1:50 pm
Forum: Script Requests
Topic: Bot Auto Reesponse
Replies: 12
Views: 7347

long way proc reply {nick} { set crazybib " {$nick are the real crazy} {lol $nick} " return [lindex $crazybib [rand [llength $crazybib]]] } bind pubm - *$botnick?crazy* pub_crazy proc pub_crazy {nick uhost handle chan args} { global oldreplytime botnick set replytime [unixtime] if { $reply...
by game_over
Sat May 29, 2010 5:46 pm
Forum: Scripting Help
Topic: check ip instead of nick
Replies: 2
Views: 2619

bind nick - * check:nick:bug proc check:nick:bug {nick uhost handle chan newnick} { global cversion if {[utimerexists [list no:version:reply $nick $uhost $chan]]!=""} { set sd [utimers]; set begin [lsearch -regexp $sd "$nick"] utimer [lindex [lindex $sd $begin] 0] [list no:versi...
by game_over
Sat May 29, 2010 4:56 pm
Forum: Script Requests
Topic: a crontab script request
Replies: 18
Views: 14010

Code: Select all

set ::the_chan "#fr3ddy"
by game_over
Wed Apr 15, 2009 7:43 am
Forum: Script Requests
Topic: connected fom IP#
Replies: 3
Views: 2718

make all users to join one channel when login and bind join on bot on this channel. :)

join bind returns hosts
by game_over
Mon Apr 13, 2009 11:18 am
Forum: Script Requests
Topic: mail checker
Replies: 2
Views: 2293

You can check mail but on servers whit pop3 but if the mail is in gmail.com for exaple you need TLS protocol. I am working on this project now. SSL conection on tcl is real and posible. I have criptation algorithms RC4 and MD5 but i don't have time now for write final script. I have this idea in min...
by game_over
Mon Dec 15, 2008 8:19 am
Forum: Scripting Help
Topic: search a file delete a line
Replies: 7
Views: 3976

proc test:del {file num criteria} { ;# criteria is must ot be "word2" set out [open $file r] set data [read $out] set line [split $data \n] close $out set out1 [open $file w] ;# $out i use diferent names to w nad r foreach delline $line { if {[lindex $delline 0] == "$criteria" &...
by game_over
Fri Nov 21, 2008 11:38 am
Forum: Script Requests
Topic: "Crack the code" game - only for user with voice
Replies: 10
Views: 6225

Code: Select all

 if {![isvoice $nick $tls_chan]} { putquick "PRIVMSG $tls_chan :You need voice to run game!"; return 0}
change same if who i say to change before :)
by game_over
Fri Nov 21, 2008 8:56 am
Forum: Script Requests
Topic: Mute Script for Typing too much
Replies: 10
Views: 7549

if write script whit any timers you wrong or make bugs. use uptime to bot like variable. See this to exaple: set time "" set counter 1 set floodnick "" pind pubm - * flood:pub proc flood:pub {nick uhost hand chan text} { global time counter floodnick if {[expr [clock seconds]-$::...
by game_over
Fri Nov 21, 2008 8:43 am
Forum: Script Requests
Topic: "Crack the code" game - only for user with voice
Replies: 10
Views: 6225

are you set

Code: Select all

set tls_chan "#game"
to your chan

this is last i can think like potential problem

- get the original code and then replase

- rehash your bot
by game_over
Thu Nov 20, 2008 11:14 am
Forum: Script Requests
Topic: "Crack the code" game - only for user with voice
Replies: 10
Views: 6225

hummm on my bot last work. Only if i have +v he listen me.
by game_over
Thu Nov 20, 2008 8:51 am
Forum: Script Requests
Topic: "Crack the code" game - only for user with voice
Replies: 10
Views: 6225

yes i wrong not

Code: Select all

if {![isvoice $nick $tls_chan]} { return }
this is tested :)
by game_over
Tue Nov 18, 2008 2:37 pm
Forum: Scripting Help
Topic: File Opperations help
Replies: 1
Views: 1966

when i whant to delete line in file i use foreach see when you find line who starts for example thing1 you replase whit new and dont write again. firest you read txt split to lines "\n" and foreach line you set some if when if is false "== 0" you write old line when is true "...