PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: Stravides on 04 February, 2004, 02:18:40

Title: SendtoWho's
Post by: Stravides on 04 February, 2004, 02:18:40
I would very much like to get a full listing of the message outputs that I can use in Scripts..
I have seen a few, but I never can use the right one it does not turn out how I expect

ie SendToAll(BotName,"Message") sends to all
SendPMToNick(user,bot,message)  etc..

I need to have a definitive list as I have seen so many and dunno what i should be using when..  
ie I wanna message in separate window to a user, not in mainscreen tho

thats one use, I wanna message all ops in PM

and I want to message the OPChat in separate window.. are these standard ??

many thanks
Title:
Post by: plop on 04 February, 2004, 03:56:54
QuoteOriginally posted by Stravides
I would very much like to get a full listing of the message outputs that I can use in Scripts..
I have seen a few, but I never can use the right one it does not turn out how I expect

ie SendToAll(BotName,"Message") sends to all
SendPMToNick(user,bot,message)  etc..

I need to have a definitive list as I have seen so many and dunno what i should be using when..  
ie I wanna message in separate window to a user, not in mainscreen tho

thats one use, I wanna message all ops in PM

and I want to message the OPChat in separate window.. are these standard ??

many thanks
all that and more can be found in the docs folder from ptokax, in the file called scripting.txt.

plop
Title:
Post by: nErBoS on 04 February, 2004, 10:32:26
Like plop said take a good look on the /doc/scripting.txt...

There you will find the command to send to all ops, to send to opchat you may use this...

OpChat = "OpChat" --The name that you put on the opchat of the software hub

--Then when ever you want to send mensages to opchat just use this

user:SendPM(OpChat, "Message")

Best regards, nErBoS