FunScript API2 - Page 2
 

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

FunScript API2

Started by Madman, 09 October, 2007, 11:47:41

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Madman

Fixed, Connect.dat can be found on my site.
Found some more errors

Package has NOT been updated with latest fixes.

Will do that later...
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Madman

I started working on Version 10.
So far it's only code improvements.
However, I start from scratch beacuse i'm changeing the file layout.
And also Settings.ini has been rewritten, and TableSettings.ini has been merged with it.

So if you have any thing you have written, that you wish to add, post it here, and i'll add it later on.
However, script is not opened for request, until AFTER i rewritten in.
And that's beacuse it's so big...

O and btw, it's more flexible, on what to load, for example. CustomCmds, is at defualt off, and has to be enabled to work.
Same will go for groups of Cmds, and TalkModes
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Madman

Okey.. Another news update. Commands has been grouped in to

  • ThrowCmd
  • VicCmds
  • VicTxtCmds
  • ErrorSetCmds
  • BrainCmds
  • PillCmds
  • RoulletteCmds
  • EliteUserCmds
  • CamelUserCmds
  • DrunkUserCmds
  • TalkModes
  • TableCmds
  • BasicCmds
  • YouDo
  • TextCmds
  • AscIICmds
  • AnimalCmds

I was thinking and insted of haveing the commands groped in Do To a User and You Do menus in the rightclick.
That i use the new cmd groups instead, of course with a nicer title, like VicCmds would be maybe Victim commands or something..

What do you guys think? Is that an good idea or should i keep the old menu layout?
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Madman

Didn't get any response on last question..
So i changed it anyway...

And now i have a new question...

There been some talk about ppl translateing FunScript to their language.
And just today i got asked if i could add Multilanguage...
Now... Since there is SO MANY LINES, that needs to be changed for that, it WON'T be added UNLESS, people respond, and tell me that they want it.
And might even want to help with the translateing...
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

hello madman i just came across with your script and its awesome i need a small help if you can
actually the reg profile can use "to do"  commands where as me being master cant user those commands can u have a look at it please and let me know what to do i used ur updated right clik and connect files from your site but i get only three right click options after the main right click
you do
ascii
funversion
thats it!!!
please can you help me

Madman

If you don't get the OpCommands, then your profile isn't set to 1 in TabelsSettings.ini > AllowedProfiles
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

Quote--Core.SendToNick(curUser.sNick, "$UserCommand 1 2 " ..tSettings.zMenu.. "\\Do to a User\\Command$<%[mynick]> !command %[nick]&#124;|")
      Core.SendToNick(curUser.sNick, "$UserCommand 1 2 " ..tSettings.zMenu.. "\\Do to a User\\Slap User$<%[mynick]> !slap %[nick]&#124;|")
      Core.SendToNick(curUser.sNick, "$UserCommand 1 2 " ..tSettings.zMenu.. "\\Do to a User\\Love User$<%[mynick]> !love %[nick]&#124;|")
      Core.SendToNick(curUser.sNick, "$UserCommand 1 2 " ..tSettings.zMenu.. "\\Do to a User\\Hug User$<%[mynick]> !hugs %[nick]&#124;|")
      Core.SendToNick(curUser.sNick, "$UserCommand 1 2 " ..tSettings.zMenu.. "\\Do to a User\\Kiss User$<%[mynick]> !kisses %[nick]&#124;|")

these are the command types that are not being showed on my right click is it has something to do with which client i am using

Madman

Uhm.. just guessing here...
You only have You Do, OpCommands and FunVersion, on your rightclick...
Witch means that you click on the hub tab...
Try clicking a user, and you will get Do to a user...
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Madman

Atlast! Version 10 is finally here!
First of... Everything is new, so no old files are vailed anymore!

Before you start reading the Changelog i posted, you should know that, it only contains the changes, you need to know.
However in the package there is a file called  Changelog.v10.txt witch covers ALL my work on v10 step by step.
EasyChangelog is the one posted bellow. It covers, the NEW Added stuff, the Changed and Removed OLD stuff, and most of the Fixed Stuff

And since Settings.ini has been rewritten, you need to set it up again.
Also note that all cmds are disabled by default...
And finnaly... The package is now in .ace insted of .rar

Quote-- Easy overview of Changelog of 10 to 10.26
-- Removed: TabelSettings.ini, merged with Settings.ini
-- Changed: All setttings now in tConfig table
-- Changed: ProtectedUser and AllowedNicks has new layout
-- Changed: AllowBanishesUnReg,ThrowbOpUnreg merged with AllowBanishes,ThrowbOp
-- Changed: ProfileNames is now changed to ProfileNumbers
-- Changed: Version now has build nr and date
-- Changed: Swtiched change to true/false insted of 1/0
-- Changed: Size unit code rewriten
-- Changed: Switches now i a tSwitches table
-- Removed: Anti-Empty line in ChatArrival
-- Added: IsOdd for switches checking
-- Fixed: Config bug in Chatter.txt
-- Added: Enable table in tConfig
-- Added: CustomCmds key in Enable table
-- Changed: Commands has been grouped and moved to seperate files
-- Changed: Rewrote CustomCmds code some
-- Fixed: Small bug in CustomCmds
-- Changed: Rewrote ChatArrival some
-- Changed: tCmsd lay out in Cmd files
-- Added: GetVic and LodVicTxt to Functions.dat
-- Changed: Cmds now uses GetVic
-- Added: Loading of Functions.dat if Vic or Throw files are enabled
-- Added: VicTxt to load Functions.dat
-- Added: Loadcodes for adding Cmd files
-- Changed: Rewrote VicTxtCmds.lua
-- Removed: UseThrowCode,UseInbuiltStab in Settings.ini
-- Added: Enabled for HiddenCmds,ThrowCmds,VicCmds,StabCmd,TalkMode and VicTxtCmds
-- Changed: StabBot files modded to fit new layout
-- Fixed: Some bugs in StabBot
-- Removed: ChatArrival in StabBot, cmds moved to tCmds
-- Removed: funprofiles,readsettable,funcfg,regbot,pu cmds
-- Changed: Rewrote cleanerror,readerror,shpwpu
-- Changed: Updated CleanMem()
-- Changed: Rewrote i,r cmd for brain cmd
-- Fixed: OLD typo in RoulletteCmds.lua
-- Changed: curUser to user, all files and cmd updated
-- Changed: makeelite and uneliteall rewritten some
-- Added: Enable for CamUserCmds,DrunkUserCmds
-- Changed: Rewrote OpOnly code
-- Fixed: Bugs in TalkModes.lua
-- Added: More functions in TalkModes to make less code repeat
-- Fixed: More old bugs, and some new ones
-- Changed: NuttyNicks numbers, Fix is now 2, and On is 1
-- Fixed: Small bug in DrunkUserCmds.lua
-- Fixed: Bug with off cmd in TalkModes.lua
-- Fixed: Bug in IsOff
-- Fixed: Bug in CamelTalk
-- Changed: Rewrote Matrix code with bugs
-- Fixed: Bugs in Matrix code ;p
-- Fixed: Bugs with CutomCmds
-- Added: More links to bored cmd
-- Added: Functions in TableCmds.lua for less code
-- Changed: user,share,maxusers,bot,minshare,eflood = fsusers,fsshare,fsmaxusers,fsbot,fsminshare,fsflood
-- Removed: banish cmd
-- Changed: Enable key MUST be same as filename in Settings.ini
-- Fixed: Bug with if statement when checking functions cmds
-- Changed: Some Enable keys
-- Removed: Not reciving data in YouDoFunc anymore
-- Fixed: Allot of return true bugs in many cmd files
-- Fixed: New bugs in TextCmds.lua
-- Changed: Table layout of Animal.txt
-- Added: AddDescr key in Settings.ini
-- Changed: Cmd keys now in Enable.Cmds
-- Changed: LogInOutProfiles splitted to two tabels
-- Removed: HubValues code in OnStartup
-- Changed: Connect.dat was renamed to Welcome.lua
-- Changed: zMenu was changed to Menu
-- Changed: FunRightClick.lua was rename to RightClick.lua
-- Changed: Rightclick is now in tLeftClick talbe
-- Added: tStabClick for stab cmds
-- Added: SendStab function in RightClick.lua
-- Fixed: Bug in for loop in RightClick.lua
-- Changed: StabBot cmd settings are now in Settings.ini
-- Changed: UserConnected,UserDisconnectd is now SBUserConnected,SBUserDisconnected in StabBot
-- Removed: Reg/OpConnected from StabBot, handles by FunScript
-- Changed: Improved Op limits in StabBot
-- Removed: suicide, toa,tele cmd, we got die,wc,phone instead
-- Added: A menu 'Seperator' at 20 cmd in rightclick
-- Added: BuildCustomRight for sending customcmds to rightclick (Built at script start)
-- Changed: Version var to sFSVersion
-- Added: Added more moviequotes
-- Added: Advanced drunk code
-- Added: AdvancedDrunk key in Settings
-- Added: Levelup for advanced drunk (user gets more drunk, automaticly)
-- Added: Online check for me in OnError
-- Changed: layout in Settings.ini, comments are now above key, insted of after key
-- Removed: Banish code code from tConfig
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

thanks a lot madman.
awesome script once again.

would surely like to try 10
read a lot of changes.

?StIfFLEr??

thanks a lot for your previous help was just checking the options but still the OPCOMMANDS as per fuctionright click are missing.

Madman

OpCommands should be there..
Aslong your profile is set to 1, it should be nothin to it..
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

when will be the link for version 10 be available

Highlander Back

when you look at post from mr madman you see a link to his website where al scripts from him can be found

Madman

Quote from: Madman on 06 December, 2008, 17:30:16
Didn't get any response on last question..
So i changed it anyway...

And now i have a new question...

There been some talk about ppl translateing FunScript to their language.
And just today i got asked if i could add Multilanguage...
Now... Since there is SO MANY LINES, that needs to be changed for that, it WON'T be added UNLESS, people respond, and tell me that they want it.
And might even want to help with the translateing...

Since we are on a new page.. I post it again...
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

Hey Madman,
I recently came across this fun script and let me tell its the best script to keep the main chat and users active.
Don't care about others but i love this script of yours.
Language by default English RoCKS.
it WON'T be added UNLESS, people respond, and tell me that they want it.
And might even want to help with the translateing...

Dont Know about translating as i can understand english.
But yes this forum will be kept alive with more ideas If you dont mind me sharing them.

Moreover
when you look at post from mr madman you see a link to his website where al scripts from him can be found

I searched over there but did not found the version 10
Madman Please I need to use the newer version i am waiting for some more fun.
Thanks for creating this script.
Can we add ASCII that we have created in the script.
It would be fun if we have that command in right click to add ASCII.

Madman

It's found here My Site > LuaSite > API 2 > FunScript > Funscript.v10.26

What do you mean by :
Quote from: †StIfFLEr†™ on 10 December, 2008, 10:04:55
Can we add ASCII that we have created in the script.
It would be fun if we have that command in right click to add ASCII.
you want a command to add an ASCII file from mainchat?
So anyone with the profile rights can add profile, instead of just the hub owner?
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

No only op having the option to add ASCII in right click.
Is it possible?

?StIfFLEr??

Thanks a lot for the version 10 will be using it soon.

?StIfFLEr??

--------------------------------------------------------------------------------
At 2008-12-10 - 21:26:33 an error was detected
Error:	.../gigabyte limits/gigabyte alpha/scripts/FunScript/Cmds/CamelUserCmds.lua:35: ')' expected near 'vUser'
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
At 2008-12-10 - 21:29:21 an error was detected
Error:	.../gigabyte limits/gigabyte alpha/scripts/FunScript/Cmds/CamelUserCmds.lua:35: ')' expected near 'vUser'
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
At 2008-12-10 - 21:31:20 an error was detected
Error:	...gigabyte alpha/scripts/FunScript/Cmds/VicTxtCmds.lua:21: attempt to call global 'GetVic' (a nil value)
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
At 2008-12-10 - 21:32:10 an error was detected
Error:	...s/gigabyte alpha/scripts/FunScript/Cmds/ThrowCmd.lua:4: attempt to call global 'GetVic' (a nil value)
--------------------------------------------------------------------------------

i am getting following errors plz let me know what i have to do

Madman

Quote
Changelog for 10.27
Fixed: missing .. at vUser.sNick in CamelUserCmds, reported by †StIfFLEr†™
Fixed: Profile bug in ThrowCmd

GetVic nil error is only posibole if Functions.dat is not in scripts\FunScript

As for the cmd. I think we are saying the same thing.
A cmd to add AscII through mainchat, and only ops are allowed. (i.e only the profiles setted up in the config later)
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

Madman there are some errors i am facing would like to discuss with you.
I am unaware whether its my error or scripts error please have a look at it
--------------------------------------------------------------------------------
At 2008-12-11 - 15:02:45 an error was detected
Error:	...abyte alpha/scripts/FunScript/Cmds/CamelUserCmds.lua:11: attempt to index global 'tCamelUser' (a nil value)
--------------------------------------------------------------------------------

this is when i used camel command.
--------------------------------------------------------------------------------
At 2008-12-11 - 15:13:56 an error was detected
Error:	...gabyte alpha/scripts/FunScript/Cmds/ErrorSetCmds.lua:49: attempt to concatenate local 'name' (a boolean value)
--------------------------------------------------------------------------------

for show protected users
--------------------------------------------------------------------------------
At 2008-12-11 - 15:21:20 an error was detected
Error:	...abyte alpha/scripts/FunScript/Cmds/DrunkUserCmds.lua:129: bad argument #1 to 'RemoveTimer' (number expected, got nil)
--------------------------------------------------------------------------------

When using undrunk all command




There are many right click comands that i have set to true in the settings file so as to see the commands
These are the right click command which are giving me no response after using them.
1.FunScript--->table..
2.FunScript--->victims
3.Funscript--->ASCII
4.Funscript--->the animals, talk, you do

Madman

I won't be home untill late tonight.
But i can confirm thoose errors... i'll fix them when i come home.

However, what do you mean by "many right click comands that i have set to true in the settings file"
Because, if tConfig.Enable.RightClick is true, any key under tConfig.Enable.Cmds that is true should show up in RC after connect
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

?StIfFLEr??

Actually i can see the commands in my right click but i When i use them there is no response.
There is nothing happening not even any error reports.

Madman

#49
Ahh.. i see... then my guess is that you have script blocking mainchat, when cmds entred not belong to that script.
So try moveing FunScript to the end of script list.

*EDIT*
Quote
Changelog for version 10.28
Fixed: table typo in CamelUserCmds, reported by †StIfFLEr†™
Fixed: for loop error in ErrorSetCmds, reported by †StIfFLEr†™
Fixed: Timer errors in DrunkUserCmds, reported by †StIfFLEr†™
Changed: code improvment in DrunkUserCmds
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

SMF spam blocked by CleanTalk