thanx, got it all to work now.
here is the current code
bind raw * 333 proc_topicset
proc proc_topicset { from keyword arg } {
set testing $arg
putquick "PRIVMSG mynick :$testing"
}
have included lindex'ing and stuff, just have the code on another computer