SendtoWho's
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

SendtoWho's

Started by Stravides, 04 February, 2004, 02:18:40

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

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
Stravides
For RPG Books, Mp3 & Videos
We host trivia  and the ever failing Smeagolbot

plop

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
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 <----<<

nErBoS

#2
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
--## nErBoS Spot ##--

SMF spam blocked by CleanTalk