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

by spock
Thu Jun 29, 2006 11:03 am
Forum: Scripting Help
Topic: Question about an array
Replies: 8
Views: 6327

Yes, that does work, here. :) edit: this works for me bind pubm - * reset:flag proc reset:flag {nick uhost hand chan arg} { set reset [join [lrange [split $arg] 0 2]] # set reset [stripcodes bcruag $reset] set case 0 set 3er_maps { "C&C_Under.mix" "C&C_Hourglass.mix" } fo...
by spock
Thu Jun 29, 2006 10:29 am
Forum: Scripting Help
Topic: Question about an array
Replies: 8
Views: 6327

try

Code: Select all

if {[string match -nocase "Loading Level $map3" $reset]}
and maybe

Code: Select all

set reset [join [lrange [split $arg] 0 2]]
by spock
Fri May 05, 2006 10:10 pm
Forum: Scripting Help
Topic: Need help in displaying muliple info in dcc
Replies: 13
Views: 11200

not really. putidx works fine if you have the correct idx, and honeybee should be getting the correct one from the dcc bind
by spock
Fri May 05, 2006 9:51 pm
Forum: Scripting Help
Topic: Need help in displaying muliple info in dcc
Replies: 13
Views: 11200

.tcl foreach person [whom *] {return $person} only returned a single record with 4 users logged in .tcl whom * returned records for all users I'm thinking that foreach isn't the best way to split the records you should try what fz did (putlog). return is doing what it's supposed to, so you dont get...
by spock
Mon Mar 13, 2006 5:06 pm
Forum: Script Support & Releases
Topic: Stupid pushmode
Replies: 1
Views: 3830

do they by any chance have the same u@h ?
by spock
Thu Feb 09, 2006 2:13 am
Forum: Script Support & Releases
Topic: Universal channel script
Replies: 224
Views: 215795

ah.. right you are

edit: actually it does seem to work over here
bind evnt - evnt:loaded ; proc evnt:loaded t { putlog $t }
sure enough, it spits out "loaded" on ./eggdrop -n
by spock
Thu Feb 09, 2006 1:14 am
Forum: Script Support & Releases
Topic: Universal channel script
Replies: 224
Views: 215795

try using the "loaded" evnt bind
by spock
Tue Feb 07, 2006 1:23 am
Forum: Scripting Help
Topic: Striping out character
Replies: 12
Views: 8267

try \xAB and \xBB

actually f*** that, if demond's suggestion doesnt work then min ewont either (PEBKAC)
by spock
Sat Jan 21, 2006 10:57 pm
Forum: Script Requests
Topic: convert to TCL
Replies: 4
Views: 8528

just a tip for winters instead of having all those binds and procs, you can do something like bind pubm -|- "% v%" v proc v { n u h c t } { set t "::v[scan $t "v%d"]" if {![info exists $t]} { putlog "error: $t doesn't exist" ; return } putserv "PRIVMSG $c...
by spock
Sun Jan 08, 2006 9:39 pm
Forum: Script Requests
Topic: Looking for a script or module to create custom commands
Replies: 38
Views: 28364

{$act} will save {$act} into the file which will cause all commands to reply with the word {$act} on command (literally {$act}) while [list $act] will save {the whole action here} in the file $ cat bla.tcl set act "hand %nick a beer" set f [open "out" w] set cmdlist {"comma...
by spock
Sun Jan 08, 2006 6:49 pm
Forum: Script Requests
Topic: Looking for a script or module to create custom commands
Replies: 38
Views: 28364

i dont think you need
  • in this case, but feel free to prove me wrong (be gentle :))
by spock
Sun Jan 08, 2006 2:59 pm
Forum: Script Requests
Topic: Looking for a script or module to create custom commands
Replies: 38
Views: 28364

just be careful not to let anyone other than owners have access to !addcommand, unless you want them to execute tcl commands at will. making commands such as ![whatever], which will execute the command "whatever", worst case scenario, they ![die] and no real harm done. with dekus' fix, unr...
by spock
Sun Jan 01, 2006 7:52 pm
Forum: Script Requests
Topic: little modification
Replies: 10
Views: 5949

!vabon returns 1 so it gets logged (msg on partyline)
!vaboff -> 0 will not get logged (no msg on partyline)
by spock
Tue Oct 18, 2005 1:47 pm
Forum: Archive
Topic: rehash command
Replies: 3
Views: 12656

rename putquick to stop other scripts from using it in the last few seconds before restart, clear mode queue (see "clearqueue mode" in tcl-commands.doc), and dont restart until "queuesize mode" is sufficiently small edit: and you would obviously do your notice stuff right after c...
by spock
Tue Oct 18, 2005 1:43 pm
Forum: Archive
Topic: Changing Internal Command's Bind Flags
Replies: 1
Views: 9979

remove that "if" in cmd_pls_host (cmds.c) and rebuild your bot