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

by collett9
Wed Sep 01, 2004 5:58 pm
Forum: Archive
Topic: message script
Replies: 1
Views: 867

message script

I am trying to make a script that when you type .msg yourircnick message goes here that it will private message "yourircnick" with "message goes here" currently this is what I have: bind pub - .msg cmd:msgper proc cmd:msgper {nick host hand chan text} { putquick "PRIVMSG $te...
by collett9
Wed Aug 18, 2004 11:43 pm
Forum: Archive
Topic: repeat in seconds
Replies: 5
Views: 2091

repeat in seconds

I'm trying to make a script that will repeat a certain text in a specific number of seconds (on a specified command) set channel "#mychannel" bind pub - .repeatgo cmd:repeatgo proc cmd:repeatgo {nick host handle chan text} { foreach channel $channel { <here is where I'm lost> } } Thanks in...
by collett9
Sun May 02, 2004 2:25 am
Forum: Archive
Topic: replacing line problem
Replies: 4
Views: 1759

yea, that's what I needed, however it poses yet another problem in the file it actually sets it as: set variwannaset text instead of what I NEED it to be set variwannaset "text" I've also tried the [list set variwannaset "\"$text\""] and every combination I possibly kno...
by collett9
Fri Apr 30, 2004 12:24 am
Forum: Archive
Topic: replacing line problem
Replies: 4
Views: 1759

replacing line problem

Well after my last post and getting that to work, it turned out not to be what I needed exactly. I need to REPLACE the line, so I did a bit of searching and found: http://forum.egghelp.org/viewtopic.php?p=27613#27613 Here is what I have, and it's not working: bind pub - !setvar replaceLines bind pub...
by collett9
Wed Apr 28, 2004 10:14 pm
Forum: Archive
Topic: if no variable is set
Replies: 4
Views: 1397

k, I kind of get where you are coming from, but let me go into greater detail to help YOU help ME even easier. :) - my variables are in a file called vars.tcl (in the scripts folder) Here is what the code looks like in my vars.tcl # set variable set variwannaset "default set" Here is how I...
by collett9
Wed Apr 28, 2004 6:53 pm
Forum: Archive
Topic: if no variable is set
Replies: 4
Views: 1397

GodOfSuicide wrote:to safe it permanently you have to write the var into a file and parse it every time you rehash/restart
how would I do that?
by collett9
Wed Apr 28, 2004 12:47 am
Forum: Archive
Topic: if no variable is set
Replies: 4
Views: 1397

if no variable is set

I have a script that sets a variable on command i.e. -set var1 hello so that when someone says !greet the bot says "hello" the reason I don't set one in my seperate .tcl file that holds all of the variables is because everytime it restarts it resets it to the default variable, so I am hopi...
by collett9
Fri Jan 02, 2004 3:55 pm
Forum: Archive
Topic: on text command
Replies: 1
Views: 700

on text command

I need a tcl script that when I do

".command handle" it will ban a user for 1 day with a certain reason only from a specific user

I don't know how to make tcl scripts :(

can anyone help me out?

-matt
by collett9
Tue Dec 16, 2003 10:38 am
Forum: Archive
Topic: sponsor advert tcl script
Replies: 5
Views: 1376

so.. if I understand you correctly for example below set adchan "#teamefn" set ads { "WiredLabs" "WiredServers" "Olternit" "iDesigns" } bind time - "25 *" time:ad proc time:ad { mi h d m y } { set currentad "[lindex $::ads [rand [lleng...
by collett9
Tue Dec 16, 2003 9:59 am
Forum: Archive
Topic: sponsor advert tcl script
Replies: 5
Views: 1376

Code: Select all

set adchan "#shells" 
I want it to /amsg it, so just seperate the channel with ","'s ?

also, did your script include the time? (I am really new to this), if it didn't, I'd like it to spam every hour at like :25 after

thanks
by collett9
Mon Dec 15, 2003 11:40 pm
Forum: Archive
Topic: sponsor advert tcl script
Replies: 5
Views: 1376

sponsor advert tcl script

I want to make a script for advertising our sponsors's "messages" every hour or so, but a different message each time (random), how do I do this?

thanks