From WikiChip
Editing mirc/identifiers/$inpaste
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 3: | Line 3: | ||
It appears that $inpaste is mostly $false, and can be $true only when: | It appears that $inpaste is mostly $false, and can be $true only when: | ||
− | # | + | # Options/Display/Other/'Editbox Lines' is set to 'Single' |
− | |||
# Clipboard contains at least one of $cr $lf $crlf | # Clipboard contains at least one of $cr $lf $crlf | ||
# Paste from the clipboard triggers the ON INPUT event | # Paste from the clipboard triggers the ON INPUT event | ||
# $inpaste is used within the ON INPUT or ON PARSELINE:out event | # $inpaste is used within the ON INPUT or ON PARSELINE:out event | ||
− | |||
== Synopsis == | == Synopsis == | ||
<pre>$inpaste</pre> | <pre>$inpaste</pre> | ||
Line 21: | Line 19: | ||
<source lang="mIRC"> | <source lang="mIRC"> | ||
on *:PARSELINE:out:*:{ echo -s debug $scriptline $event : $inpaste is $true only if this line was triggered by pasting from the clipboard : $parseline } | on *:PARSELINE:out:*:{ echo -s debug $scriptline $event : $inpaste is $true only if this line was triggered by pasting from the clipboard : $parseline } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</source> | </source> | ||
Line 33: | Line 25: | ||
== See also == | == See also == | ||
* {{mIRC|on events/on input|ON INPUT}} | * {{mIRC|on events/on input|ON INPUT}} | ||
− | * {{mIRC|on events/on | + | * {{mIRC|on events/on input|ON PARSELINE}} |
* {{mIRC|$ctrlenter}} | * {{mIRC|$ctrlenter}} | ||
* {{mIRC|$comchar}} | * {{mIRC|$comchar}} |