hi can someone tell me whats wrong here?
on *:TEXT:!lol:?:/msg $nick lol
it should send a msg to the one that privatemessages the client with !lol but it does nothing
and one more question can i send also parameters taht i can use with $1 $2 ....
greetz
If you are using more than just !lol (such as !lol this is fun), then do this.
on *:TEXT:!lol*:?: msg $nick lol
Also, make sure you don't have this inside another script that is also using on text, where the commands overlap.
Example:
on *:text:*:*:{} cannot be in the same script twice. Only the first would work.
Yes, you can send $N parameters. $1 in this case would be "!lol". Then, your $2 is "this", $3 is "is", $4 is "fun".
And, of course, you can use ranges... $2-3 is "this is", and $2- is "this is fun".
uhm iam using just !lol (actually for test reasons)
but also ur line doesnet respond to the sender...
on *:TEXT:*!lol*:?: /msg $nick lol
tried aso thatone.^^.. may the is a on text b4 in the script with an halt
or may that can belong to the server?
greetz
Just stick your code in a blank script file (File > New) and try it. Should work.
i found it in annother script already running:)
on &^*:TEXT:lolo:?:{
/msg $nick 12 $str($chr(160),7) $nick lol gfdgfddh fdghdfg fdghdfgh
}
^^ thisone works now... but it gives backs a blank string
with or without the " 12 $str($chr(160),7)"
uhm
AAAND $nick is my nick in that case also when i use a ThisMyNick instead of a $nick.... it does not whispering the user with te nick ThisMyNick
Well, first... see if you need that at all. If you don't need that one running, just remove it and add the one you want from above.
well yes i need to whisper a certain nickname... and thats the actual problem
it shoukld work as a transmitter... any sugestions?
greetz