$inpaste » History » Version 4
Per Amundsen, 04/29/2018 01:04 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$inpaste* |
||
| 4 | |||
| 5 | 4 | Per Amundsen | Returns [[$true]] if a user typed %(key)CTRL% + %(key)V% or %(key)SHIFT% + %(key)INSERT% to paste text into an [[Editbox Control|Editbox]] during the [[on INPUT]] [[Scripting_Events|event]], otherwise [[$false]]. |
| 6 | 1 | Per Amundsen | |
| 7 | *Example* |
||
| 8 | |||
| 9 | <pre> |
||
| 10 | 2 | Per Amundsen | on *:INPUT:*:echo -ag user $iif($inpaste,did,did not) paste |
| 11 | 1 | Per Amundsen | </pre> |