Butler v1.30 Released - Page 2
 

News:

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

Butler v1.30 Released

Started by ORION, 21 October, 2005, 15:26:58

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ORION

actually no that didn't work it just blocked out the hub software commands and made the only command that worked the ones I'd created in the script
Developer of Butler for Ptokax
View the development of Butler HERE

ORION

Well here's the new release version 1.14.
 I've tested it on  PtokaX DC Hub 0.3.3.21 [debug] and seems to work fine.

Download the script package HERE v1.14

Any way here's the command list for the script which gives you a quick view of what the script can do.

Butler v1.14
!help -=Shows all hub commands you have access to except for the following butler commands=-
!swelcome --=Sets Your Personal Welcome message That the hub sees=-
!sgoodbye --=Sets The Message that the hub sees when you leave the hub=-
!butlerclear --=Deleates You Saved Messages and returns them to the Defaults=-
!butlerhelp --=This Screen=-
!butlercredits -=Shows the Credits Screen for All the Great People that have helped Me=-
!shomsgs --=Shows Your saved Messages=-
!MOTD -=Shows the Message Of The Day again for your convenience=-
!news -=Shows latest news and infomation=-
!releases -=Shows All latest releases in the hub=-
!movies -=Shows latest Movie releases in the hub=-
!music -=Shows latest Music releases in the hub=-
!games -=Shows latest games releases in the hub=-
!tv -=Shows latest tv releases in the hub=-
!apps -=Shows latest apps releases in the hub=-
!others -=Shows latest other releases in the hub=-
!daysup -=Shows how many day's the script has been running for=-
!userstats -=Shows a detail of your Stats=-
!hubinfo -=Shows a list of all people who have connected to this hub=-
!hubinfo user -=Shows specific users details (Case Sensitive)=-
!hubinfo Name -=shows !hubinfo but sorted by Name=-
!hubinfo Connected -=shows !hubinfo but sorted by No Connection=-
!hubinfo Time -=shows !hubinfo but sorted by their connected time=-

OP only Commands

!addmovie -=Add's a new movie to the releases
!addmusic -=Add's new music to the releases
!addtv -=Add's a new tv episode to the releases
!addgames -=Add's a new game to the releases
!addapps -=Add's a new app to the releases
!addother -=Add's a new entry to the other releases
!releasemessage -= add's a message to display just before releases list =-
!addnews -=Add's a new line of text to the end of the news file (can use \n to make multiple lines)
!addmotd -=Add's a new line of text to the end of the motd files (can use \n to make multiple lines)
!clearreleases -=Empties the releases file=-
!clearnews -=Empties the releases file=-
!clearmotd -=Empties the releases file=-
!clearoldreleases -= clears old releases =-
!clearreleases -= clears all releases =-
!setolddate -= changes the length in day's releases are still counted as usable =-

KNOWN possible bugs in v1.14
-- some clients cause the client check or the stats update to try to convert a string that doesn't exist in some clients it doesn't cause any major problems but i'm trying to figure out what is actually doing it.

Download the script package HERE v1.14


Changes in Version 1.14
-- Commands now a Table (Big thanks to Cy?e??o? for doing that saved me some work)
-- Added right click Butler menu options
-- change !releases to include !movies, !music, !tv, !games, !apps, !others and !releases displays all of them
-- Changed !addreleases to !addmovies, !addmusic, !addtv, !addgames, !addapps, !addothers
Developer of Butler for Ptokax
View the development of Butler HERE

ORION

#27
I've found a problem with my script for some reason which I hope to find soon It's not storing or refreshing the tables so It erasing data apon refreshes so I'd keep with v1.13 for a little while at least.

EDIT

Well I seem to have patched it for now so anyone who downloaded it before this post was submitted may want to download it again
Developer of Butler for Ptokax
View the development of Butler HERE

Ryckarn

OP only Commands

!addmovie -=Add's a new movie to the releases
!addmusic -=Add's new music to the releases
!addtv -=Add's a new tv episode to the releases
!addgames -=Add's a new game to the releases
!addapps -=Add's a new app to the releases
!addother -=Add's a new entry to the other releases
!releasemessage -= add's a message to display just before releases list =-
!addnews -=Add's a new line of text to the end of the news file (can use \n to make multiple lines)

Can some one tells me how a can do so all people on the hub can adds this?

// Ryckarn

ORION

just change the "if SetToWho[user.iProfile] == 1 then" in each of the commands to "if SetToWho[user.iProfile] == 0 then"
so

tCommands["addmovie"] = function(user,data)
   if SetToWho[user.iProfile] == 1 then
      local s,e,cmd,args = string.find(data, "%b<>%s+(%S+)%s+(.+)")
      updateDate()
      addrelease(user, args, tMovies, "tMovies", MoviesFile)
      SaveFile(tMovies, "tMovies", MoviesFile)
   else
      sendMessage(user,Bot,"*** You dont have rights to do this command!")
   end
   return 1
end


becomes


tCommands["addmovie"] = function(user,data)
   if SetToWho[user.iProfile] == 0 then
      local s,e,cmd,args = string.find(data, "%b<>%s+(%S+)%s+(.+)")
      updateDate()
      addrelease(user, args, tMovies, "tMovies", MoviesFile)
      SaveFile(tMovies, "tMovies", MoviesFile)
   else
      sendMessage(user,Bot,"*** You dont have rights to do this command!")
   end
   return 1
end


and you could also move the relevent commands in the right click menu section
Developer of Butler for Ptokax
View the development of Butler HERE

Cêñoßy†ê

or like this... now all users can use that command

tCommands["addmovie"] = function(user,data)
		local s,e,cmd,args = string.find(data, "%b<>%s+(%S+)%s+(.+)")
		updateDate()
		addrelease(user, args, tMovies, "tMovies", MoviesFile)
		SaveFile(tMovies, "tMovies", MoviesFile)
	return 1
end
Powered By Leviathan™ 2nd Generation v. 1.8

Ryckarn

thx....

ORION and Cy?e??o? now it?s works :)

// Ryckarn

Rick

I'm having a problem with 1.14
I have been adding an "other" called test then checking that it is there
If I restart the script there are no current releases - it isn't saving them
I am using the new Ptokax 0.3.5.2

Thanks

Rick

ORION

#33
Well Thought I probably should upload a new version considering someone emailed me about it.
I've tested this one a bit and it seems to work fine with PtokaX 0.5.3.2 runing lua 5.1.1
Seems to be saving now upon restart.

Latest version is always up on my SVN repo
https://orion.serveftp.org/websvn/listing.php?repname=projects&path=%2Fbutler%2F#_butler_
Developer of Butler for Ptokax
View the development of Butler HERE

SMF spam blocked by CleanTalk