Advertisement
Xzempt

Untitled

Dec 18th, 2011
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. on 1:input:*: {
  2. if (!%co1) || (!%co2) { echo -a Please set the colors in the menu, or disable the talker. | halt }
  3. elseif (/ !iswm $left($1,1)) && (Status Window !iswm $active) && (!$regex($1,/^(\.|!)/)) {
  4. var %x 1
  5. while (%x <= $gettok($1-,0,32)) {
  6. var %text1 $mid($gettok($1-, [ [ %x ] ],32),1,1)
  7. var %text [ [ %text ] ] $replace($mid($gettok($1-, %x ,32),1,1),%text1, $+(%co1,%text1,%co2)) $+ $mid($gettok($1-, [ [ %x ] ],32),2,$calc($len($gettok($1-, [ [ %x ] ],32) - 1)))
  8. inc %x
  9. }
  10. msg $active %text
  11. halt
  12. }
  13. if ($regex($1,/^(\.|!)/)) {
  14. msg $active $1-
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement