1

我正在尝试以彩色私人消息输入我的每个文本行,我使用此代码显示彩色文本但在文本前添加一个空格。我怎样才能删除那个空间

on *:INPUT:?:{
  say 4 $strip($1-)
  halt
}

现在还有类似的命令

/clear

不工作..显示在阅读中但它不工作

4

1 回答 1

0

on input events are sensible
if you dont know how it works, dont mess with it, since it may mess with all your scripts

try this

on *:input:?:{
if (!$inpaste) && (!$ctrlenter) && ($left($1,1) != /) {
command here
haltdef
}
}

by the way, this event must be on top of all on input events to work

于 2014-08-24T23:40:22.687 回答