mIRC Homepage
Posted By: Jeffrey903 If...Then...Scripts - 28/01/03 03:28 AM
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.
Posted By: Collective Re: If...Then...Scripts - 28/01/03 03:46 AM
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
Posted By: Coca_Bear Re: If...Then...Scripts - 28/01/03 06:06 AM
[/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
Posted By: Zonk Re: If...Then...Scripts - 28/01/03 02:12 PM
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
© mIRC Discussion Forums