Author Topic: Replace incoming data to main  (Read 1636 times)

0 Members and 1 Guest are viewing this topic.

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 790
  • Karma: +2/-0
Replace incoming data to main
« on: 27 November, 2003, 17:07:20 »
let's say i send a message, (anything) to main
how can i replace that message so it will show something else?

Etc:
If i type: "Hello"
Output: "Olleh"
Guarding    

PtokaX forum

Replace incoming data to main
« on: 27 November, 2003, 17:07:20 »

Offline SaintSinner

  • Lord
  • ***
  • Posts: 293
  • Karma: +1/-0
(No subject)
« Reply #1 on: 27 November, 2003, 17:40:32 »
i never used it
but is that what "work replace manager"  in ptokax is for
 ?(
   


Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 790
  • Karma: +2/-0
(No subject)
« Reply #2 on: 27 November, 2003, 17:48:52 »
I want to make a command, "+test all" for instance.
then his text will be replaced..

Using the replace manager for that would take years to configure
Guarding    

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 790
  • Karma: +2/-0
(No subject)
« Reply #3 on: 27 November, 2003, 17:50:44 »
Ok, To make this easier..
if user type anything,,,,
etc: Hello
then output will be

Hoollee

or Maybe "HeLlO"
Guarding    

Offline plop

  • Forum God
  • ****
  • Posts: 2 464
  • Karma: +37/-0
(No subject)
« Reply #4 on: 27 November, 2003, 19:06:49 »
grab crazy bot from the scripts archive (faulty called zcrazy there).
example of hello in random mode.
[19:04] <[TgA-Op]pLoP> hello
[19:04] <[TGA-OP]plop> hello
[19:04] <[TgA-Op]pLoP> hello
[19:04] <[TGA-OP]plop>  hello
[19:04] hello
[19:04] <[TGA-OP]plop> ehllo
[19:04] <[TGA-OP]plop> olleh
[19:04] hello

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

PtokaX forum

(No subject)
« Reply #4 on: 27 November, 2003, 19:06:49 »