on *:TEXT:*:#:{
set %last $5
if ((word isin $3) && (by isin $6) && (%last isin $5)) msg $chan url
if (ok isin $1) msg $chan http://www.internet.com/first $+ %last | halt }

problem is that it doesn't grab what it should but the last thing that was said it the channel.

do i need to write an alias for it and replace $+ %last with alias name ?

i don't have a clue how to do it though

please help