From WikiChip
Editing mirc/on events/on sendfail
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
The '''ON SENDFAIL''' event triggers whenever mIRC fails to send a remote user [[Dcc - mIRC|DCC]]. | The '''ON SENDFAIL''' event triggers whenever mIRC fails to send a remote user [[Dcc - mIRC|DCC]]. | ||
Line 8: | Line 7: | ||
== Parameters == | == Parameters == | ||
− | <span style="display: inline-block; width: 155px;">'''<level>'''</span>The | + | <span style="display: inline-block; width: 155px;">'''<level>'''</span>The level for the event to trigger. |
− | <span style="display: inline-block; width: 155px;">'''<filename[,filename]>'''</span>The filename(s) that should match the failed file. These can be | + | <span style="display: inline-block; width: 155px;">'''<filename[,filename]>'''</span>The filename(s) that should match the failed file. These can be [[wildcard|wildcards]]. Example: ''*.txt,*.doc,my*.txt'' |
<span style="display: inline-block; width: 155px;">'''<commands>'''</span>The commands to be performed when the event listener's criteria is met. | <span style="display: inline-block; width: 155px;">'''<commands>'''</span>The commands to be performed when the event listener's criteria is met. | ||
Line 16: | Line 15: | ||
== Examples == | == Examples == | ||
Echo the name of the filename, along with both the user's nickname and address if available: | Echo the name of the filename, along with both the user's nickname and address if available: | ||
− | <source lang="mIRC">ON *: | + | <source lang="mIRC">ON *:SENFAIL:*:echo -a Failed to send $filename $iif($nick,to $nick - ,to) Address: $address</source> |
== Compatibility == | == Compatibility == | ||
Line 22: | Line 21: | ||
== See Also == | == See Also == | ||
− | * | + | * [[/dcc command - mIRC|/DCC SEND]] |
* [[On filercvd - mIRC|ON FILERCVD]] | * [[On filercvd - mIRC|ON FILERCVD]] | ||
* [[On filesent - mIRC|ON FILESENT]] | * [[On filesent - mIRC|ON FILESENT]] | ||
Line 28: | Line 27: | ||
{{mIRC on event list}} | {{mIRC on event list}} | ||
− | [[Category: | + | [[Category:MIRC on events|sendfail]] |