PtokaX forum

Development Section => Your Developing Problems => Topic started by: sebastian on 15 November, 2003, 21:07:49

Title: run lua snippes from the script?
Post by: sebastian on 15 November, 2003, 21:07:49
i found a bot on the net , dont remember which name , but is has a command look like this:

!testlua


!testlua SendToAll("sebastian","testing")
resulted in
testing


this should i use so 2 scripts can comunicate wich each other. Even on different hubs , so my network hubs can communate to OP hub when something suspected happens.


how i do to run lines from the chat? ,, which function?
Title:
Post by: tezlo on 16 November, 2003, 17:21:11
dostring()
Title:
Post by: sebastian on 16 November, 2003, 21:18:45
thanks.
Title:
Post by: RiPOFF on 17 November, 2003, 06:28:14
yo got a copy i can have?