Simple Script, Simple Commands
 

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

Simple Script, Simple Commands

Started by PlayboyDee, 07 August, 2004, 01:07:19

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PlayboyDee

Any request on a script for just basic commands like:

!kick
!ban
(possibly a reg user script)
!massmessage
!banip
etc...

Dont like Robocop, too many commands, plus, I only have 15 users max in the hub and dont need all those commands.  Thankx

Psycho_Chihuahua

if u have a close look at !help in Mainchat
 
 The following commands are available to you:
 
 Profile specific commands:
    !ban  () - permanently ban IP address of the , followed by kick. Reason is optional.
    !banip  - permanently ban IP address
    !nickban  - ban user's nick (if user is connected then he is kicked)
    !unban  - unban IP address or Nick
    !getbanlist - display list of banned IP addresses
    !clrtempban - clear tempban list
    !clrpermban - clear permban list
    !drop  - silent kick with tempban
    !getinfo  - displays basic info on user with given nick
    !op  - give a temporal Op status to the  for one session
    !gag  - the user cant post to mainchat anymore
    !ungag  - the user can post to mainchat again
    !restart - restart hub
    !restartscripts - restart scripting part from the hub
    !addreguser    - add registered user with specified profile
    !delreguser  - remove registered user with
    !ipinfo  - Show all on/offline users with that ip
    !iprangeinfo  - Show all on/offline users within that iprange
    !userinfo  - Show all visits of that user
 
 Global commands:
    !me  - speak in 3rd person
    !help - this help page

you will find most of your requests already there ;)
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

jackthebest

Bot = "[BOT]mssmsg"
function Main()
frmHub:RegBot(Bot)
end

function DataArrival(user,data) 
	if (( strsub(data, 1, 1) == "<" ) or ( strsub(data, 1, 4) == "$To:" )) then 
		data=strsub(data,1,strlen(data)-1) 
		s,e,cmd = strfind(data,"%b<>%s+(%S+)")

		if (cmd == "!massmsg") then
			if user.bOperator then
			s,e,cmd,message = strfind(data,"%s+(%S+)%s+(.*)")
				SendPmToAll(Bot,""..user.sName..": "..message)
			end
		end
	end
end

massmsg bot

monnie

Greetings

Jack the best

Thanks for your tip

But that one i have
lol
What i wanted is a simple standalone script
then i can play with the script..
but nevermind
I'll have to learn anyway

Thanks

                         monnie

Pacman

ill write a simple one for you in a sec :D
(??.??.->?\'][\'eam?lite?<-.??.???)

SMF spam blocked by CleanTalk