mIRC Homepage
Posted By: javatis on *:text: problem - 15/07/05 03:27 PM
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
Posted By: Riamus2 Re: on *:text: problem - 15/07/05 03:35 PM
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".
Posted By: javatis Re: on *:text: problem - 15/07/05 03:43 PM
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
Posted By: Riamus2 Re: on *:text: problem - 15/07/05 04:02 PM
Just stick your code in a blank script file (File > New) and try it. Should work. smile
Posted By: javatis Re: on *:text: problem - 15/07/05 04:08 PM
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
Posted By: javatis Re: on *:text: problem - 15/07/05 04:16 PM
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
Posted By: Riamus2 Re: on *:text: problem - 15/07/05 04:30 PM
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.
Posted By: javatis Re: on *:text: problem - 15/07/05 08:10 PM
well yes i need to whisper a certain nickname... and thats the actual problem

it shoukld work as a transmitter... any sugestions?

greetz
© mIRC Discussion Forums