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...
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...
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...
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...
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...
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...
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...