mIRC Home    About    Download    Register    News    Help

Print Thread
#8589 28/01/03 03:28 AM
Joined: Jan 2003
Posts: 8
J
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Jan 2003
Posts: 8
I want to know how to make a script where if someone says something specific in a certain channel...then something happens...like i send them a file or a text message.

Thanks.

#8590 28/01/03 03:46 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Code:
on *:TEXT:*pokemon*:#whatever:{
  msg $nick Pokemon sucks!
}


If that was in your remotes, whenever someone said pokemon in #whatever you would private message them the text "Pokemon sucks!". Read the helpfile for more information on scripts, it is all documented there. /help

#8591 28/01/03 06:06 AM
Joined: Dec 2002
Posts: 40
C
Ameglian cow
Offline
Ameglian cow
C
Joined: Dec 2002
Posts: 40
[/code]
on *:TEXT:*gamefiles*:#yourchannel:{ /dcc send -c $nick filename }
[/code]

note: filename must be something like this C:/files/gamefile.zip .. it has to state where the file is located

Coca-Bear

#8592 28/01/03 02:12 PM
Joined: Jan 2003
Posts: 53
Z
Babel fish
Offline
Babel fish
Z
Joined: Jan 2003
Posts: 53
i think, he wants sth like this
on *:text:*:#: {
if ($chan == #yourchan) && ($1-2 == "send me") {
msg $nick Sending you blub
}
}

there is no THEN in mIRC
just start your command with {
laugh
hf


Link Copied to Clipboard