mIRC Home    About    Download    Register    News    Help

Print Thread
#60529 16/11/03 07:05 AM
Joined: Sep 2003
Posts: 24
I
Iceflow Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Sep 2003
Posts: 24
I want to respond to certain user text, where in the script editor do i put this? :
on *:TEXT:$(* $+ $me) text to respond to:#:{ msg $chan $nick text that appears }

do I have to do anything else or will that start working immediatly?

#60530 16/11/03 07:30 AM
Joined: Nov 2003
Posts: 5
A
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Nov 2003
Posts: 5
put it in the remotes section

#60531 16/11/03 10:16 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
on *:TEXT:*:#: if ($1 == $me) echo -a $2-

your code (once it's fixed) will respond when the nick is anywhere. If that's not a problem,

on *:TEXT:$(* $+ $me $+ *):#: echo -a $1-


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#60532 16/11/03 11:18 AM
Joined: Sep 2003
Posts: 24
I
Iceflow Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Sep 2003
Posts: 24
Okay i have put it in the remote dir but its not working.

Heres an example of what ive written:
on *:TEXT:$(* $+ $me) sex:#:{ msg $chan $nick Mammals enaging in such acts will be promptly removed

I want it to say "Mammals enaging in such acts will be promptly removed" when anyone says the word "sex"


#60533 16/11/03 11:50 AM
Joined: Nov 2003
Posts: 5
A
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Nov 2003
Posts: 5
you do realise with the

Code:
$(* $+ $me)  


its looking for your nickname + the word sex at the moment dont you? if you dont want that take it out if you want your nick + the word sex move the word sex inside the bracket so

Code:
on *:TEXT:$(* $+ $me sex):#:{ msg $chan $nick Mammals enaging in such acts will be promptly removed   


i'm by no means an expert so if it dont work blame someone else :tongue:

#60534 16/11/03 12:03 PM
Joined: Sep 2003
Posts: 24
I
Iceflow Offline OP
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Sep 2003
Posts: 24
sorry but I didnt understand any of that.

all i want is for it to say "Mammals enaging in such acts will be promptly removed" when somebody says the word "sex"?

not when I say it , when someone else does!

#60535 16/11/03 02:14 PM
Joined: Oct 2003
Posts: 50
T
Babel fish
Offline
Babel fish
T
Joined: Oct 2003
Posts: 50
then do what he said, and remove $(* $+ $me sex). The new code will be:
Code:
on *:TEXT:sex:#:{ msg $chan Mammals enaging in such acts will be promptly removed }

#60536 16/11/03 02:20 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Code:
on *:TEXT:[color:red]*[/color]sex[color:red]*[/color]:#:{ msg $chan Mammals enaging in such acts will be promptly removed }

i think that would do the trick? smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard