mIRC Home    About    Download    Register    News    Help

Print Thread
#125205 15/07/05 03:27 PM
Joined: Aug 2004
Posts: 43
J
javatis Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Aug 2004
Posts: 43
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

#125206 15/07/05 03:35 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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".


Invision Support
#Invision on irc.irchighway.net
#125207 15/07/05 03:43 PM
Joined: Aug 2004
Posts: 43
J
javatis Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Aug 2004
Posts: 43
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

#125208 15/07/05 04:02 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Just stick your code in a blank script file (File > New) and try it. Should work. smile


Invision Support
#Invision on irc.irchighway.net
#125209 15/07/05 04:08 PM
Joined: Aug 2004
Posts: 43
J
javatis Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Aug 2004
Posts: 43
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

#125210 15/07/05 04:16 PM
Joined: Aug 2004
Posts: 43
J
javatis Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Aug 2004
Posts: 43
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

#125211 15/07/05 04:30 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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.


Invision Support
#Invision on irc.irchighway.net
#125212 15/07/05 08:10 PM
Joined: Aug 2004
Posts: 43
J
javatis Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Aug 2004
Posts: 43
well yes i need to whisper a certain nickname... and thats the actual problem

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

greetz


Link Copied to Clipboard