**How to config a !extra command Read this**
 

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

**How to config a !extra command Read this**

Started by AlwaysConnected, 21 October, 2003, 21:02:19

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AlwaysConnected

How to make a Custom command in Channelbot 4 and above

----------------------------------------------
note1 the pass = !lol
note2 the file i use is called lol.txt
-----------------------------------------------

part 1 first check this

Type !extra

Then you must see this
-----------------------------------------------------------------------------
[20:41]
*** Extra commands ***
-----------------------------------------------------------------------------
!coffeee            coffee TimeUh :p
!can            CannBisSs
!hid            lolololol
!hidd            lololololol lol ol ol ol olo l

------------------------------------------------------------------------------
part 2 config a VCOM

I will change !can to !lol

type this !custom VCOM2

Then you must see this

---------------------------------------------------------------------------------
[20:44] VCOM2 found.
*Actual path is set to: ChannelBot/Txt/cannabis.txt
*Command is set to: !can
*Cmd description is set to: CannBisSs
***Password required:
---------------------------------------------------------------------------------
part 3 enter the pass

Type the pass you entered in the settings.dat at this line PASSWORD|!lol

Type you password
then you must see this
---------------------------------------------------------------------------------
[20:46] Enter a path for this command:
---------------------------------------------------------------------------------
part 4 enter a path for this command

Type this
ChannelBot/Txt/lol.txt
Then you must see this
---------------------------------------------------------------------------------
[20:48]
1
2
3
4
5

found,... Please enter a line command now:
-----------------------------------------------------------------------------------
Part 5 enter a line command now

Type this !test <-- the command to use in the bot
then you must see this
-----------------------------------------------------------------------------------
20:49]
Ok,... Please enter a description for this command now:
-----------------------------------------------------------------------------------
part 6 enter a description for this command now

Type this
This is just a test :)
Then you must see this
-----------------------------------------------------------------------------------
[20:51]
Ok,... Please enter the way to show the commands.
Type 'main' if you want the commands shown in main chat, or 'pm' if you want them shown in pm to you:
------------------------------------------------------------------------------------
part 7 chose main or pm

Type this
main (to show it in the main) type pm (to show it in the PM)
[i will use main]
then you must see this
------------------------------------------------------------------------------------
[20:52]
Ok,... and finally, Please :
------------------------------------------------------------------------------------
part 8 enter a level for this command now

______________________________________________________________________________________
This levels are available

1=user (All users can run the hub function)
2=newbie (Newbies users or higher can run the hub function)
3=regs (Regs users or higher can run the hub function)
4=vip (VIPs or higher can run the hub function)
5=op (standard operators or higher can run the hub function)
6=moderator (only moderators or higher can run the hub function)
7=admin (only admins or higher can run the hub function)
8=hubowner & network founder (only hubowner or network founder can run the hub function)
________________________________________________________________________________________
i will use 1

Type 1
then you must see this
-----------------------------------------------------------------------------------------
[20:55] Done !! ;P
-----------------------------------------------------------------------------------------
Part 9 restartscripts

Type !restartcript
then you muse see this
------------------------------------------------------------------------------------------
[20:56] Scripts are being restarted !
------------------------------------------------------------------------------------------
part 10 see your command

type !extra
then you muse see this
--------------------------------------------------------------------------------------------
[20:57]
*** Extra commands ***
----------------------------------------
!coffeee            coffee TimeUh :p
!test            This is just a test :)
!hid            lolololol
!hidd            lololololol lol ol ol ol olo l
-----------------------------------------------------------------------------------------------
Part 11 check the command

Type !test
then you must see this
-----------------------------------------------------------------------------------------------
[20:59]
1
2
3
4
5
------------------------------------------------------------------------------------------------
Greets AC :) AlwaysHelpful

SMF spam blocked by CleanTalk