Project

General

Profile

[script] Fake messages v0.3.1 » Fake messages v0.2.ini

Mr. BS, 03/11/2015 05:35 AM

 
; http://dev.adiirc.com/boards/5/topics/182
; Fake messages
; v0.2 by pereba

; Usage:
; /f <text> == local only.
; /f2 <text> == local and remote.

on *:INPUT:#,?: {
if ($istok(/f /f2,$1,32)) && (!$ctrlenter) && ($2) && ($status == connected) {
var %msgx $mid($msgx, $calc($len($1) +2), $len($msgx))
var %rawx : $+ $ial($iif($chan,$me,$active)) PRIVMSG $active : $+ %msgx
fakeraw %rawx
if ($1 == /f2) { var %text PRIVMSG $active : $+ %msgx | .rawx %text }
halt
}
}
(3-3/5)