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.

new updater help

Old posts that have not been replied to for several years.
Locked
k
kstyler

Post by kstyler »

I have not done much in tcl scripting, just starting out
but what im trying to do it get my bot to update my site with news thro the chennal
but i don't know whats the comand im looking for
im mirc its $1- to display the test the some1 typed
this is what I have atm


set $site "mywebsite"

bind pubm n "!siteupdate*" siteupdate

set $news ""
#I want to set this variable to the rest of the text the I wrote

proc suteupdate {nick host handle chan text} {

putlog "$nick updated $site with $news"
exec $site
#not sure of the rest of this command either
putserv NOTICE $nick :updating $site with $news
}
Locked