Hello, could anyone send me the link or make a snippet for me. I would like a snippet to repeat a line someone says which name begins with an [HI] tag. For example: [HI]Johnny says Hello, the snippet repeats it and says Hello.
Hello, could anyone send me the link or make a snippet for me. I would like a snippet to repeat a line someone says which name begins with an [HI] tag. For example: [HI]Johnny says Hello, the snippet repeats it and says Hello.
Not sure I know what you mean... but here goes:
on *:TEXT:*:#: {
;*** If [HI] is in the users nickname it will repeat what he said ( NOTE: THIS WILL KEEP REPEATING EVERY TIME HE SAYS ANYTHING )
if ([HI] isin $nick) { msg # $1- }
;*** If [HI] is in the users nickname and he says "Hello" it will reply Hello <USER NICKNAME>
if ([HI] isin $nick) && (Hello isin $1) { msg # Hello $nick }
}
^ Please note that this isn't tested... it's written here... but it should be working.