hello does anyone see the error in this on text remote line:
on 1:TEXT:#: { if randy isin $chan- { /msg $chan is back on the floor, $nick }
im close to having this correctly configured- im just not sure what i have wrong
also does anyone know how to make it variably reply, IE with three different responses ?
thanks for anything
R
im not 100% if your trying to do a On level:JOIN:#: or a On level:TEXT:*:#:
nice to see atleast you try
and got the on TEXT event correct however your missing a tiny part of that On text even instead of on 1:TEXT:#: it should of been on 1:TEXT:*:#: the reason for the * wildcard is that we can use a if operator to execute a script command and also your ==> if was on a good start however do not ad a - after $chan and do not open a new bracket { after $chan- { it should be along the lines of something similar like this
\\Yours on 1:TEXT:#: { if randy isin $chan- { /msg $chan is back on the floor, $nick }
---
You see on a ON TEXT event using something similar like your script it would always message the channel everytime someone spoke if randy was in the channel however.. here is a small sniplet of a on join and on text for you to play around with \\Fixed on 1:TEXT:*:#: {
if (randy isin $1-) { msg $active Yo Randy is Here! }
}
//you probably want to watch what you put there because everytime the word randy is found in a text said by a person it will display the command or message --------
//Here is a ON JOIN event which i think is what you were looking for rather then a on text command so we gotta create a script that says when randy joins to say a certain message in active channel this is the script.. on 1:JOIN:#: {
if (randy == $nick) { msg $active is back on the floor, $nick }
}
//Which actually will display is back on the floor, testorbot
if you want varible responses do something like this for example
on 1:TEXT:*:#: {
if (randy isin $1-) {
msg $active Randy is in this channel at the moment
msg $active second line of text
msg $active third line of text... should i keep going ?
}
}
again though im about 80% sure of what you want can you give a little more detail on what you want the script to do actually