PtokaX forum

Archive => Archived 4.0 boards => Finished Lua 4 scripts => Topic started by: Madman on 07 November, 2004, 20:35:39

Title: FunScript
Post by: Madman on 07 November, 2004, 20:35:39
I was Bored one night and desided to do this script....
And now it is finnaly finished...

Thanks to all that helped me with it =)

If you have a rightclick menu and wish to add the funscript v3 you can use this code
--user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Command$<%[mynick]> !command %[nick]||")
user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Slap User$<%[mynick]> !slap %[nick]||")
user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Love User$<%[mynick]> !love %[nick]||")
user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Hate User$<%[mynick]> !hate %[nick]||")
user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Hug User$<%[mynick]> !hugs %[nick]||")
user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Kiss User$<%[mynick]> !kisses %[nick]||")
user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Stab User$<%[mynick]> !stab %[nick]||")
user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Insult User$<%[mynick]> !insult %[nick]||")
user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Attack User$<%[mynick]> !attack %[nick]||")
--user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Throw User$<%[mynick]> !throw %[nick]||")
user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Dinosaurie$<%[mynick]> !dino %[nick]||")
user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Vampire$<%[mynick]> !vamp %[nick]||")
user:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Baseball Bat$<%[mynick]> !baseball %[nick]||")
--user:SendData("$UserCommand 1 3 FunScript\\You Do\\Command$<%[mynick]> !command||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Joint$<%[mynick]> !joint||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Beer$<%[mynick]> !beer||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Drunk$<%[mynick]> !drunk||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Weed$<%[mynick]> !weed||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Get Some Coffe$<%[mynick]> !coffe||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\WC$<%[mynick]> !wc||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Brb$<%[mynick]> !brb||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Blb$<%[mynick]> !blb||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\You Are Dead$<%[mynick]> !dead||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Talking On The Phone$<%[mynick]> !phone||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Tele (Swe Phone)$<%[mynick]> !tele||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Car$<%[mynick]> !car||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Love This Hub$<%[mynick]> !lovehub||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Bbl$<%[mynick]> !bbl||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Sing For Us$<%[mynick]> !sing||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Play On The Guitar$<%[mynick]> !guitar||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Drink Some Tea$<%[mynick]> !tea||")
user:SendData("$UserCommand 1 3 FunScript\\You Do\\Die (Deadly)$<%[mynick]> !die||")

Have fun =)

*edit*
Changed the download location, use the links in my last post
Title:
Post by: Themaster on 07 November, 2004, 21:40:48
nice madman...i have try it....it look great

:o

Maybe i will past into my script
Title:
Post by: Madman on 09 November, 2004, 22:23:33
Updated the script...

Quote--//Version 3.1 (File Stil Named v3)
--//I Realized That The Most Of The Insults Text Wasent Insulting...
--//They Where Stab Or Attack Texts
--//So I Stole The Texts From One Of (uk-kingdom)pH?tt? Script
--//And I Wont Give Them Back!! ;p
--//The Link To (uk-kingdom)pH?tt? Script =)
--http://board.univ-angers.fr/thread.php?threadid=2014&boardid=12&sid=6e2f807a14eafe9c866ae124a94d5087
--//Bug Fix Too.... ;p

*edit*
Changed the download location, use the links in my last post
Title:
Post by: Themaster on 12 November, 2004, 19:11:19
It still nice that script Madman...keep going
Title: FunScript 4
Post by: Madman on 13 November, 2004, 21:47:21
Thanks for the kind words Themaster =)
Quote--//Version 4
--//Made The VictimTxtCommands Tell That User Was Not Online...
--//Some Spelling Errors Fixed
--//Made VictimCommands Syntax Error Text Read What Command It Should Use
--//Added The Same For VictimTxtCommands
--//RightClick Code Can Be Found In Funscript\RightClick.txt Just Added It To Your RightClick Script
--//Added --==NewModeCommand==-- Beacue Of Drunk Mode
--//Added Drunk Mode
--//Drunk Mode Made From Hawks KennyScript
--//Drunk Text From FunScript 2.0 By Solian
--//Added FunHelpOp
*Removed*
Click my signature for FunScript

*note*
The Opcommands in RightClick.txt are for version4
And the rightclick.txt can only be found in version4 rar file....
Title:
Post by: Themaster on 13 November, 2004, 23:41:45
NP...i realy mean that...i have past some off the command in my script...and it is great..Come on going...
Title:
Post by: Madman on 14 November, 2004, 01:47:17
Okey =)

And what exaclty are your script?
*curious*
Title:
Post by: Madman on 14 November, 2004, 04:44:08
Quote--//Version 4.1 (File Still Named v4)
--//More Spelling Errors Fixed
--//Comment The RegBot, Now Bot Wont Appear in UserList
--//Corrected Some Small Errors In FunScript\FunScript.lua
--//Added Some More Commands
--//More Texts To Out Command Is Welcome...
--//Out Text Can Be Found In FunScript\FunScript.lua
*Removed*
Click my signature for FunScript
Title:
Post by: Madman on 17 November, 2004, 23:54:47
Quote--//Version 4.2 (File Still Named v4)
--//More Out Texts... Thanks To My Self ;p
--//More Drunk Texts... Found In TrickerBot2.lua, created by Ptaczek Dec-24, 2002
--//Added Russian Roulette Found In A Script Translated By MatrixX
--//ReWrote Russian Roulette A Little...
--//Changed Some In The Functions
--//Added UserCount =)
--//Added Share, Bot Stuff, Max Users And Min Share
A little update with more fun stuff... Never Trust a bot ;p

*Removed*
Click my signature for FunScript
Title:
Post by: Themaster on 18 November, 2004, 16:14:25
sry i did't answer....i script my own right now...but when i'm please with it will come out
Title:
Post by: Madman on 18 November, 2004, 18:46:55
Quote--//Version 4.3 (File Still Named v4)
--//Small Bug Fix
--//Added Some More Out Text
--//Thanks To My Freind Didde
--//Changed So The Help Pops Up In A Pm
--//Help Showed By HubBot
And this time i rember to copy the dl adress before copying the changelog ;p so now i dont have to edit the post.... ;p

*Removed*
Click my signature for FunScript

*edit*
Unless, i forget to answer ur post.... ;p

okey.. have seen you been asking for help....
Title:
Post by: Themaster on 18 November, 2004, 22:44:39
that all right....i just tell what a great funscript you made...yes i do ask off something
Title:
Post by: Tw?sT?d-d?v on 20 November, 2004, 14:23:06
hi all  im new to all this      im having a few probs with funscript ,i cant get all the cmds working ie  stab,attack & insult.     I would be grateful for any help.   :)

p.s   its a great script!!!!!!
Title:
Post by: Madman on 20 November, 2004, 19:11:14
Have you puted the file like this?
PtokaX\scripts\Funv4.lua
PtokaX\scripts\FunScript\FunScript.lua
--//These 2 files are not needed... they are just some extra stuff.. =)
PtokaX\scripts\FunScript\ThrowFunc.txt
PtokaX\scripts\FunScript\RightClick.txt
Title:
Post by: Themaster on 20 November, 2004, 19:16:05
i can tell you it is a good script...to having fun:)
Title:
Post by: Tw?sT?d-d?v on 21 November, 2004, 00:28:43
thank alot , thats got it working        told u i was new to all this..........
Title:
Post by: Madman on 21 November, 2004, 01:38:07
np, just happy some ppl using my script =)
Title:
Post by: Madman on 27 November, 2004, 17:23:17
Quote--//Version 5
--//Made So None Of The Commands Shows In Main
--//Rewrote FunHelp Code A Little
--//Spelling Error Fixed...
--//Some Commands Added
--//Added NuttyNicks
--//NuttyNicks Created From Crazy Animals 2.0 Script Powered by Demone.Astaroth
--//Bug Fixed? In NuttyNicks
--//Changed Timers, Drunk And Nutty Use The Same...
--//Couldnt Fix So They Only Emptyed Only If They Contain Nicks...
--//Changed Kiss A little
--//Made The Script Tell You If You Missed To Install The FunScript/FunScript.lua
--//!uptime, Do Not Work Correctly In 0.3.3.0 build 15.25 [debug], It Is A Bug In Potax... But Wel.. it's a Beta ;p
--//When NuttyNicks Is On, Some Commands Dont Work... Example !me

--//Added Protected Users Table, Thoose Users Cant Be Drunk Or Nutty Nicked
*Removed*
Click my signature for FunScript

There shouldnt be any prob installing this... It is the same thing as before...

And If you have any prob... i cant answer today... it is my 20 bday.. so... we are not going to be very sober... ;p
Title:
Post by: Herodes on 27 November, 2004, 21:56:23
I wish you have a nice 3rd decade madman ;)
happy birthday !!
Title:
Post by: Madman on 28 November, 2004, 11:03:12
Thank u Herodes
I think i had fun....My head hurts anyway... ;P
Title:
Post by: Themaster on 28 November, 2004, 12:28:03
happy birthday !! yesterday.. great script you still work on it...
Title:
Post by: Madman on 28 November, 2004, 12:49:29
Thanks Themaster =)

Yeah.. i'll keep working on it.. but i'm running low on ideas.... but... from time to time i get a ide ;)
Title:
Post by: Madman on 06 December, 2004, 17:47:09
Quote--//Version 5.1 (And Still File Is Named v5)
--//Moved Around Some Code ;)
--//More NN Nicks...
--//NN Commands Moved To User Settings
--//Made Syntax Error Msg In NN To Tell What Command It Should Use..
--//I'm Good On Spelling Errors ;)
--//Added Luckynr
--//And There For --==NewArgCommand==--
--//Added A On And Off Switch For ProtectedUser
--//Made A Command For It
--//Added --==NewOnOffCommand==--
--//Added RightClick Menu
--//Use SendFunMenu To Turn It On/Off
--//Removed RightClick.txt
--//Moved NuttyNicks And DrunkText Tabels To FunScript/Text.lua
--//Changelog Moved To FunScript/Changelog.txt
--//A Small Change On NN Code..
--//Waring! Do Not Use !god If U Are Religious.. =)
--//Added Chatter, Thanks To Mutor, Read More In FunScript/Chatter.lua
--//Added HubOwner, Rember To Write Your Nick There
--//More Commands
--//Rewrote zFunRightClick
--//Killed some bugs...
--//Bug Fix In Protected User

I did some beta testing in my hub, so i got time to make some changes =)

*Removed*
Click my signature for FunScript
Title: works fine
Post by: Bobby1999 on 06 December, 2004, 22:42:18
Cheers tried earlier versions but latest actually works  :D
Title:
Post by: Madman on 07 December, 2004, 00:04:46
QuoteOriginally posted by Bobby1999
Cheers tried earlier versions but latest actually works  :D

Okey? It has worked for me and others... well so long as the latest one works =)
Title:
Post by: Arucard on 09 December, 2004, 23:19:04
Nice Script!!! I really like it alot  :D
You have done a great job in this madman!!  :)
Title:
Post by: Madman on 10 December, 2004, 00:10:36
Thanks =)
Allready working on 5.2 ;p
Title:
Post by: Falken on 10 December, 2004, 13:04:25
Nice job madman:) great script!

but where and how much of the throwpart shell i inplant in the script?
i dont get it to work properly..

//Falken
Title:
Post by: Madman on 10 December, 2004, 15:08:25
The part that start with this line
--//User To send Text 2 (Victim function)
You can paste below the
ProtectedUser = {
part...

The big part that begins with the
--==NewVictimCommand==--
You can paste under this line
------------------------------------------------------------------------------Test Area
(The Second Line That Is)

and the
--//For Throw Fuction
you can put in the bottom of the script

If you still cant get it to work i'll put updated lua file with the throw code in on my web server..

In ver 5.2 i have added some lines so you can see where to put it...
Title:
Post by: WILDCAT on 11 December, 2004, 07:56:27
Madman i'm getting the following errors.

Installing (the FunScript5.lua along with all other scipts in the Fun Script Folder after unzipping it) into my Ptokax 15.25 script directory. Refreshing scripts then ta da. I get these error.

Syntax error: attempt to concat global `HubOwner' (a nil value)
stack traceback:
   1:  main of file `...30_15.25\PtokaX_0.330_15.25\scripts\Chatter.lua' at line 29

Syntax error: assertion failed!  FunScript/FunScript.lua not found! Make sure you putted it in scripts/FunScript
stack traceback:
   1:  function `assert' [C]
   2:  main of file `....330_15.25\PtokaX_0.330_15.25\scripts\Funv5.lua' at line 98


WILDCAT  ;)
Title:
Post by: Madman on 11 December, 2004, 12:45:54
Make sure you putted the files like this....

PtokaX\scripts\Funv5.lua

PtokaX\scripts\FunScript\FunScript.lua
PtokaX\scripts\FunScript\ThrowFunc.txt
PtokaX\scripts\FunScript\Chatter.lua
PtokaX\scripts\FunScript\Text.lua
PtokaX\scripts\FunScript\zFunRightClick.lua
PtokaX\scripts\FunScript\Changelog.txt
Title:
Post by: Falken on 11 December, 2004, 19:07:04
madman

it will be nice if u can put up a update lua:) ok i get it to work but the last part i dont get to work,the random stuff i think it is,  but it's no big deal, i just have this in a privte hub for fun:D
and when u are finish with 5.2 i will test it for sure...
Title:
Post by: Madman on 11 December, 2004, 20:14:48
hmm?

i dont understand...

update what lua?
and the random stuff, you mean the !attack command and that?
If you dont get that to work, look at the post above....
And make sure u putted the files like that.... =)
Title:
Post by: Falken on 12 December, 2004, 21:44:11
madman

well. i talk about !throw commad, i don't get it to work alright:( the radom part don't work but no big deal...

"If you still cant get it to work i'll put updated lua file with the throw code in on my web server..
In ver 5.2 i have added some lines so you can see where to put it..."

//Falken
Title:
Post by: Madman on 12 December, 2004, 22:36:40
Missed That Falken ;p
Fixed it now =)

*Removed since ThrowCode are inbuilt in script as standard since 5.3*

And, Also fixed a bug in the Funscript/FunScript.lua
If you have downloaded the 5.1 verion before you only need to replace the FunScript/FunScript.lua file

*Removed*

I updated the whole package.... So if you never downloaded version 5.X, you can dl the script here...
*Removed*
Click my signature for FunScript
Aslo Check my signnature...
It links to the FunScript folder.. all files can be found there
Title:
Post by: WILDCAT on 13 December, 2004, 08:29:51
hi madman,
3 things

1st: Awesome script. I got it to work. it didn't work for me initially cause i try to edit some commads but they didn't work properly so i just did a fresh re-install and worked perfect.

Second, i downloaded the full FunScript5 from the post right above this one and installed it but i can't seem to get the throw command to work still. any clues as to why?

Lastly, I don't really care much for this, but the random outros for when Op, Vips, or users are exiting my hub are not showing up at all in the main chat like i taught they would.

WILDCAT
Title:
Post by: Madman on 13 December, 2004, 09:50:18
QuoteOriginally posted by WILDCAT
Second, i downloaded the full FunScript5 from the post right above this one and installed it but i can't seem to get the throw command to work still. any clues as to why?
Not really...it works for me...it should be just to dl this and install it...
*Removed*
Click my signature for FunScript
QuoteOriginally posted by WILDCAT
Lastly, I don't really care much for this, but the random outros for when Op, Vips, or users are exiting my hub are not showing up at all in the main chat like i taught they would.
I dont have any random intros/outros...
all i got is the !out command

Good idea tho... i might add it in next version....
Title:
Post by: Tw?sT?d-d?v on 13 December, 2004, 16:16:49
1st of all great script , keep up the good work, 2nd when i us the nuttynicks cmd    i have noticed that when an op uses a cmd such as info,watch   ect....   they all appear in main   as they do not show before . any ideas ??
Title:
Post by: Madman on 13 December, 2004, 17:43:18
QuoteOriginally posted by (uk)jay
when i us the nuttynicks cmd    i have noticed that when an op uses a cmd such as info,watch   ect....   they all appear in main   as they do not show before . any ideas ??
Yes.. i have noticed... i think it is beacuse, the other script/PtokaX cant find your nick...  thats why they dont work...

Dont really know what to do about it... =(
I'm still trying to find a way to make commands like
!userinfo work, when in NN mode....
Title:
Post by: Madman on 15 December, 2004, 15:32:46
Quote--//Version 5.2 (And Still File Is Named v5)
--//Added AllowedProfiles, Set 1 To The Profiles You Wont To Give Acces To OpCommands
--//Added A Command To Show Users In ProtectedUser Table
--//Helped By Didde
--//Added Syntax Error To Cmd !nn
--//Fixed Code Error In Out Tabel In FunScript/FunScript.lua
--//Added Syntax Error On DrunkMode Cmd
--//Made FunHelpOp Only Avalible Only For Those With 1 In AllowedProfiles
--//If 2 In AllowedProfiles The Profile Is Not Allowed To Use The FunScript ;p
--//Added So Bot Talks On Login
--//Only Ops And Higher With 1 In AllowedProfiles Will Get The Login Bot Talk
--//All Lower Then Op Will Always Get It
--//Added Bot Description Based On Mr420's Description Script
--//Script Running StrongDc++ Version"SctiptVer" =)
--//lol Added !god To RightClick... Forgot That One In The 5.1 Version ;p
--//Added Text To FunScript/Chatter.lua Read More There
--//Added Lines On Where To Paste Throw Code Parts..
--//Added Commands To RegTheBot On And Off
--//Changed So NN, PU, RegBot Commmands Can be Changed In User Settings, Not Only The Switches
--//If NNicks==0 then NN Cant Be Turned Of Since It allready Is...
--//BugFix In RegBot On/Off Code
Another update.... Got some more ideas.. so i will soon start working on 5.3 =)

*Edit*
Ooops...
While working on 5.3 I found some bugs that needed to be fixed right now....
Package Updated

*Removed*
Title:
Post by: Madman on 22 December, 2004, 05:02:06
Quote--//Version 5.3 (And Still File Is Named v5)
--//Added ThrowCode
--//Made A Switch For It
--//Switch Also Controls If It Should Send The Throw Command In RightClick

--//Removed Lines About Where To Insert The Throw Code
--//Bug Fix In UseThrowCode==0 Code...
--//Found Bugs, Corrected In 5.2 Package
--//Added Forgotten Things In FunHelpOp
--//lol! So I Didn't Fogot To Add The god In 5.1 ;p
--//Fixed It Now =)
--//Rewrote Some Of The Functions, Thanks Herodes (I Think) For The Code Idea
--//Added Cmds To RightClick
--//Made RightClick Read The NN, PU And RegBot Cmds
--//Rewrote The RightClick A Little
--//Made NNicks Fixed Cant Be Set To Fixed Again Unless It Made Random Or Off First
--//Same Goes For NNicks On
--//Added LogIn/LogOut Msg, All Msg Can Be Found In FunScript/Login.txt
--//Changed So The HubBot Says the LogIn/Out Msgs...
--//Added Some Victim Commands
--//Updated Chatter.lua
--//More NuttyNicks
--//Spellling..
--//Changed Some In The Asserting Files Part
--//Moved NewUser/OpConnected Code To FunScript/Connect.lua
--//Removed ThrowFunc.txt
Since there has been some probs adding the ThrowCode i added it, just set UseTrowCode to 1 to use it
But be aware!
Quote--**Warning**--
--//Throw Function Use On Own Risk, Users Might Lose Slots When Thrown!
--//And User Might Get pissed Of

I dont think i gonna relese anything untill some day in januari...
Even tho it is stuff on my TODO list...
So Have Fun =)

It is lan at my place, anyone is invaited, so long there is room enugh... lol

Btw, To get the right X-Mas spirit i Suggest
!santa Nick

Happy X-Mas =)

*Removed*
Title:
Post by: WILDCAT on 22 December, 2004, 08:16:58
hi Madman,

Still using your script and still very happy with it keep up the good work.


WILDCAT  :D
Title:
Post by: GaNjA on 22 December, 2004, 15:34:59
Hiya,

Just wanted to say i love ur script, and the users in my hub are thrilled with it, so keep it up :-)

Merry X-Mas to all   xx
Title:
Post by: Tw?sT?d-d?v on 23 December, 2004, 12:20:06
just wanted to ask if any1 else was having any probs with getting cmds while on dc++ 0.668 ????     i could'nt get any cmds at all :))))
Title:
Post by: Madman on 15 January, 2005, 10:08:09
Quote--//Version 5.4 (And Still File Is Named v5)
--//I'm The Best... Fixed Spelling Errors ;p
--//Fixed A Bug In Shared Function
--//Small Change In Russian Function
--//Removed Some Code From BotDescr/RegBot
--//Added !like, Requested By Bart_simpson
--//ReAdded Code In RegBot Part
--//Spelling...
--//Thanks Ctrl For The Idea For !allergic Command =)
--//Text For It Comes From I,Robot
--//More NN nicks
--//Added Switch For ProtectedUser In Settings
--//Madman is Druink and Scripting ;p
--//Bug gfix In Out Command text...
--//Madman Is Now Sober.. =)
--//Rewrote Russian Roulette
--//Thanks To Mutor, Who Made The Org Script
--//Updated zFunRightClik
--//Rewrote !ac Command a.k.a. !allergic
--//Some Small Changes
--//Added Silence Table In Connect.lua
--//Users In That List Wont Have Any LogIn/Out Msg Even Tho It Is Enabled
--//Rewrote Throw A Little
--//Added RandomThrow Switch
--//To Edit Witch Profiles Are Allowed To Throw Ops And Higher Edit ThrowbOp Table In Throw.lua
--//Changed RegTheBot To 1, So The Bot Will Appear In Userlist As Standard
--//If RegTheBot Is 1, FunHelp Will Be Displayed By Bot
--//Inverted Bang Table For Russian Table
--//Made A Switch So You Can Choose Bewteen InvertBang And Bang
--//Command !tierd Added
--//More Switches To Russian Roulette, See --==Russian Roulette==-- In User Settings For More Info
--//BugFix In Throw Code, Coulnt Get Users Profile Beacuse User Was User And Has No Profile
--//Added Some Commands
--//BugFix In New Commands
--//Updated FunHelp And zRightClick

As promised a release someday in january =)

Thanks all for the nice words

And as many seems to use the throw code i updated it some....
but it is still not "on" you still have to put UseThrowCode to 1 to use it....
And let me know if you find any bugs in it, i only made quick test in my test hub.. not in my real hub....
So there might be some bugs that i missed...

*Removed*
Click my signature for FunScript
Title:
Post by: Arucard on 15 January, 2005, 13:31:03
Nice!!! I was waiting for this update!!  :D
In the "you do"... could u add "watch Television" ??
I think that would be a nice one  :P

- Arucard
Title:
Post by: Madman on 15 January, 2005, 14:03:38
Sure...
I'll add it, gonna be in next version =)

*Edit*
(uk)jay

If this release dont fix your problem with getting the RightClick Menu..
Come to my hub destruction.myftp.org and i will make you Op In My test hub...
I made some changes in the Connect.lua in 5.5
Title:
Post by: Tw?sT?d-d?v on 12 February, 2005, 23:38:52
Thx m8....all sorted now    ....

p.s whens next version coming out???

great script , keep up good work : ))
Title:
Post by: Madman on 13 February, 2005, 03:11:51
good good =)

It will still take some time untill the next version.
WILDCAT is helping me fixing all spelling errors and when he is done,
i gonna add some more stuff and more spelling errors... lol.. but as i add more i'll give him the code so he can correct it =)
And when i get the stuff you added in urs, i'll throw them in 2.... ;)
Title:
Post by: Tw?sT?d-d?v on 13 February, 2005, 15:01:07
ok m8   here is the one's added in mine ....

--==NewCommand==--
      if cmd == "!pull" then
         SendToAll("*** " ..curUser.sName.. " is pulling faces at you .. :P ")
      return 1
      end
        --==NewCommand==--
      if cmd == "!mood" then
         SendToAll("*** " ..curUser.sName.. " is in a good mood...HURRAY ")
      return 1
      end
        --==NewCommand==--
      if cmd == "!relax" then
         SendToAll("*** " ..curUser.sName.. " is kicking back,relaxing for a change ")
      return 1
      end
        --==NewCommand==--
      if cmd == "!murder" then
         SendToAll("*** " ..curUser.sName.. " is about to murder you ... haha ")
      return 1
      end
        --==NewCommand==--
      if cmd == "!scream" then
         SendToAll("*** " ..curUser.sName.. " wants to scream out .... AAARRRRGGGGHHHHH ")
      return 1
      end
        --==NewCommand==--
      if cmd == "!tv" then
         SendToAll("*** " ..curUser.sName.. " is watching television ")
      return 1
      end
        --==NewCommand==--
      if cmd == "!ignore" then
         SendToAll("*** " ..curUser.sName.. " is ignoring you,so leave alone ")
      return 1
      end
        --==NewCommand==--
      if cmd == "!bed" then
         SendToAll("*** " ..curUser.sName.. " night night all, ZZZZZZZzzzzzzzzz ")
      return 1
      end
        --==NewCommand==--
      if cmd == "!bad" then
         SendToAll("*** " ..curUser.sName.. " is having a bad day ... so sod off ")
      return 1
      end


        --==NewVictimCommand==--
      if cmd == "!machine-gun" then
      local s,e,victim = strfind(data, "%b<>%s+%S+%s+(%S+)")
         if victim == nil then
            curUser:SendData(Bot, "Syntax: "..cmd.." nick")
            return 1
         end
      vUser = GetItemByName(victim)
         if not vUser then
            curUser:SendData(Bot, " *** " ..victim.." is not online or wrong name...")
            return 1
         end
         SendToAll("*** "..curUser.sName.." picks up a AK47 and shoots "..vUser.sName.." in the ASS!")
      return 1
      end
        --==NewVictimCommand==--
      if cmd == "!spy" then --//The Command...
      local s,e,victim = strfind(data, "%b<>%s+%S+%s+(%S+)")
         if victim == nil then --//Forgot Nick?
            curUser:SendData(Bot, "Syntax: "..cmd.." nick") --//If So Send This
            return 1
         end
      vUser = GetItemByName(victim) --//vUser And Victim Is The Same
         if not vUser then
            curUser:SendData(Bot, " *** " ..victim.." is not online or wrong name...") --//Wrong Name
            return 1
         end
            SendToAll("*** "..curUser.sName.." spies on "..vUser.sName.." so watch your step.")--//Do To A User
      return 1
      end
        --==NewVictimCommand==--
      if cmd == "!snog" then --//The Command...
      local s,e,victim = strfind(data, "%b<>%s+%S+%s+(%S+)")
         if victim == nil then --//Forgot Nick?
            curUser:SendData(Bot, "Syntax: "..cmd.." nick") --//If So Send This
            return 1
         end
      vUser = GetItemByName(victim) --//vUser And Victim Is The Same
         if not vUser then
            curUser:SendData(Bot, " *** " ..victim.." is not online or wrong name...") --//Wrong Name
            return 1
         end
            SendToAll("*** "..curUser.sName.." is snogging the face off "..vUser.sName.." ")--//Do To A User
      return 1
      end
         --==NewCommand==--
      if cmd == "!suicide" or cmd == "!suicide" then
         curUser:SendData(Bot, "Run's out the front door screaming and jumps infront of bus!!!!")
         curUser:Disconnect()
      return 1
      end

curUser:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Snog User$<%[mynick]> !snog %[nick]||")
curUser:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Machine-gun$<%[mynick]> !machine-gun %[nick]||")
curUser:SendData("$UserCommand 1 2 FunScript\\Do To A User\\Spy$<%[mynick]> !spy %[nick]||")

curUser:SendData("$UserCommand 1 3 FunScript\\You Do\\Tv$<%[mynick]> !tv||")
curUser:SendData("$UserCommand 1 3 FunScript\\You Do\\Ignore$<%[mynick]> !ignore||")
curUser:SendData("$UserCommand 1 3 FunScript\\You Do\\Bed$<%[mynick]> !bed||")
curUser:SendData("$UserCommand 1 3 FunScript\\You Do\\Murder$<%[mynick]> !murder||")
curUser:SendData("$UserCommand 1 3 FunScript\\You Do\\Mood$<%[mynick]> !mood||")
curUser:SendData("$UserCommand 1 3 FunScript\\You Do\\Pull$<%[mynick]> !pull||")
curUser:SendData("$UserCommand 1 3 FunScript\\You Do\\Relax$<%[mynick]> !relax||")
curUser:SendData("$UserCommand 1 3 FunScript\\You Do\\Scream$<%[mynick]> !scream||")
curUser:SendData("$UserCommand 1 3 FunScript\\You Do\\Bad$<%[mynick]> !bad||")
curUser:SendData("$UserCommand 1 3 FunScript\\You Do\\Suicide$<%[mynick]> !suicide||")
Title:
Post by: Madman on 13 February, 2005, 16:03:19
Thanks m8

i added the commands, and i also added the Ascii u gave me =)
Title:
Post by: Madman on 13 February, 2005, 18:58:52
To TimeTraveller

For some reason the forum says your nick dont exist, so i cant pm u...

anyway.. thanks for the update on the RightClick, i added it to the Script =)
Title:
Post by: TiMeTrAVelleR on 13 February, 2005, 19:44:26
yw   8)
Title:
Post by: Tw?sT?d-d?v on 13 February, 2005, 20:15:43
Nps m8 ...... if i think of any more i'll let you know *_*
Title:
Post by: Madman on 25 February, 2005, 02:54:30
Hello Again =)

It's been a while since last update...
but as you can see i been quite busy =)
Thanks to WILDCAT, he helped me alot...
Many spelling errors...

Arcucard's request has been added
and (uk)jay's and TimeTraveller's stuff as well
Thanks guys =)

As for the Lua5 support...
I havent tested all the commands but they should work...
Check the ReadMe file on how to enable it...
only versions higher then 0.3.3.0 build 15.25 uses lua 5

I suggest you read the ReadMe file before installing it... ;p
There has been alot of changes, and there also some info in it ;)

Quote--//Version 666
--//Added !tv Requested By Arucard
--//Rewrote Connect.lua
--//I'm Suppried That It Worked, It Was A Mess ;p
--//Added Comments In Connect.lua So We Know What All Things Do ;p
--//Rewrote The User Settings, Easier To Read Now
--//Moved Some Functions To Functions.lua
--//Fixed Some In MinShare
--//Spelling Errors As Always...
--//Changed Some In My Beta Code ;p
--//Spelling Error Fix, Thanx 2 Stoffy
--//Removed Unnecessary  Code From ChatBot
--//Moved User Settings To FunScript/Settings.lua
--//Spelling Corrections By WILDCAT Only Main File So Far
--//Settings Is Now Saved In A ini File
--//Added NickMadman, Thanks To WILDCAT =)
--//Rewrote FunScriptLogin
--//Added Stuff In Chatter
--//Added !o OBS! I Wont Add It To RightClick ;p
--//I Was A Little Booooored And Added More Stuff To !o
--//Most Of BetaShit Moved To Beta Files
--//Added !msn
--//Added UseAscIICmd Switch
--//Added AscII Commands
--//The !applaudpic Cmd Dont Have Any Real AscII, The Hand Got Fucked Up...

--//Added --==NewVictimFunctionTxtCommand==--
--//Changed To --==NewVicFuncTxtCmd==--
--//Thanks To [DM]Spinal_Tap Who Gave Me The AscII Stuff, I Feel Sorry For Him, He Runs Ynhub...
--//Removed The !out Command
--//Updated NickMadman
--//Added More AscII (Thanks Sunnis)
--//Added --==NewFuncTxtCmd==--
--//Added More To The Beta Files.. Like U Care, Only Me That Has The Betas...
--//Moved ThrowbOps To Settings.ini
--//Some Small Changes In Throw.lua
--//Added Commands From (uk)jay
--//Added zMenu Thanks To TimeTraveller

--//Spelling Corrections Updates, Thanks WILDCAT
--//Fixed RightClick Some
--//Added Some In Asserting Files, Now Only Stuff On Will Be Read...Saves Some Memory
--//Functions.lua Is Now A .dat File
--//All Function Moved To Functions.dat
--//And Now Also Connect
--//Added More Stuff To Login.txt, Thanks WILDCAT
--//BugFix In Login.txt
--//Spelling Corrections From WILDCAT
--//Removed The FunHelp Stuff
--//Removed The switch For The RightClick, It Is Now Always Sent
--//Small Fix In FunScript.lua
--//Changed The Party Command a little
--//More Spelling Corrections From WILDCAT
--//Added A,R,I To BrainScan, Now Both Small And Big Letters Will Work
--//Moved Attack, Stab And Insult To There Own Files
--//Main File Is Now Known As FunScriptv6
--//Fixed Some In Asstering Files
--//BugFix In !tea, Hmm, Wounder When I Messed Up That One ;p
--//Removed The Blocked Part From AllowedProfiles
--//Added So The Script Tells The User That User Is All Ready Playing RR
--//More Spelling Correction By WILDCAT
--//Blocked Kissing Yourself =)
--//Moved !funversion To A Own Menu In Right Click, It Is To Ensure That It Will Be At The Bottom
--//Even Do Op/AscII Menu's Are Enabled/Disabled
--//Added A ReadMe File
--//Spelling Corrections In AscII.txt thanks WILDCAT
--//Added Lua 5 Hub Support, And Of Course A Switch For It
--//Updated The ReadMe File...
--//Moved Lua 5 Support To FunScript/Lua5.lua
--//Removed The Switch For Lua5 Support, Check Under The Timers Info

--//More Spelling Errors Fixed By WILDCAT

*Removed*
Title:
Post by: Tw?sT?d-d?v on 25 February, 2005, 07:30:13
wow....U been busy m8..

Looks great   ^__^
Title:
Post by: Tw?sT?d-d?v on 25 February, 2005, 17:15:04
2 thinks m8......

some cmds show in the main chat ...
[16:10] Brain scan in progress...
[16:10] Are you sure you have a brain? Brain scan came up empty.
[16:10] <(uk)jay> !brain

and i cant get the AscII pics working ......
Title:
Post by: Tw?sT?d-d?v on 25 February, 2005, 19:56:05
HEHE  got pics working ... But !hugpic not in commands list
Title: Bugfix...
Post by: Madman on 26 February, 2005, 01:09:57
Okey.... Bugs fixed... =)

Quote--//Version 6.1 (Mainfile Is Still Called FunScriptV6)
--//Updated Timer Info
--//Small Updated On NN Syntax Error
--//BugFix in Brain Command (Thanks (uk)jay For Report)
--//BugFix In Hugpic RightClick (Thanks (uk)jay For Report)
--//Another BugFix In RightClick

Click this if you didnt get V 666 a.ka V 6
*Removed*

If you got V 666 click here
*Removed*

It is only the main file and the rightclick =)
I presume u know where to put them ;p
Title:
Post by: Tw?sT?d-d?v on 26 February, 2005, 10:46:44
hi m8 .... any chance u could release the version that is set up to run on lua 5 hub....... i been trying for hours to get that working with no joy :))
Title:
Post by: Madman on 26 February, 2005, 16:33:46
To: (uk)jay
it is all there.... check the FunScriptV6.lua, you have to uncomment a line under the timers info....
and the check the lua5.lua file, there are some more info about what u have to do...

To: Thoose who used my updated from 666 to 6.1 file...
if you got an error (witch u probarly have...) that says something like
attempt to concatenate global `NNfix' (a nil value)

Check the settings.ini under the NNCmd setting you will find fix on off   change them to NNfix NNon NNoff

or just download the whole package and take the settings.ini file from there....
Title: Last lua 4 version...maybe.. ;)
Post by: Madman on 28 February, 2005, 08:49:37
Quote--//Version 6.2
--//Messed With The Beta Files
--//Added Auto Switching For Chat/Data Arrival, Just Set PtokaxLua4 To 1 When Running A Lua4 PtokaX
--//Thanks Typhoon For The Help Fixing It
--//Thanks To TimeTraveller For Some Beta Testing On New PX

--//Updated The ReadMe File
--//Added !smoke and !ie (Thanks Stoffy)
--//Updated The RightClick
--//Spelling Updateds By WILDCAT
--//More Browsers For !ie

Quote--==--------------------------------------------------------------------==--
--==                     FunScript 6.2                     ==--
--== This relese will (hopefully) be the last one written in lua4      ==--
--== Beacuse of the newly released 16.04 version of PtokaX            ==--
--== Next version will be called 7 and written in lua 5               ==--
--== Version 7 will not work on old PtokaX,                        ==--
--== as i dont have any plans to make any lua4 support for it         ==--
--== Ofcourse there will be 6.x releses if any bugs are found =)      ==--
--==                                                   ==--
--== Madman                                                ==--
--==--------------------------------------------------------------------==--

*Removed*
Click my signature for FunScript
Title:
Post by: Madman on 28 February, 2005, 17:27:54
For thoose of you using PX 16.xx
I found that i forgot to convert a lua4 to lua5
download the updated lua5 file
*Removed*
Click my signature for FunScript
or the whole package
*Removed*
Click my signature for FunScript
Title:
Post by: Jorgo on 28 February, 2005, 17:37:18
Great script, I tried this on lua4 and lua5 today and find that it has just the right amount of whackiness for our whacky hubbies :-)

I would love to replace the stabbot we used before with your script. Just one thing... our hubies loved to stab everything and everyone, not just online users.

Would it be possible for you to
- take away the online check and just use whatever is written after the stab command for VIC ?
- add the ability to pull a random online user into the stab?

Have a look at the stabbot (http://www.plop.nl/ptokaxbots/BottledHate/StabBot1.1.rar), if you like.

Thanks for your consideration!
Title:
Post by: Madman on 28 February, 2005, 20:34:22
QuoteOriginally posted by Jorgo
- take away the online check and just use whatever is written after the stab command for VIC ?
fixed.... atlest in version 7 ;)

QuoteOriginally posted by Jorgo
- add the ability to pull a random online user into the stab?
Maybe... need to take a look on the StabBot....

One question...
you want it for the lua 4 or the lua5 version, i will do it in the lua5 if i get it to work... and only in lua4 if you really want it....
i have no idea when i gonna release the lua 5 version.... =)
Title:
Post by: Tw?sT?d-d?v on 28 February, 2005, 22:08:34
ok m8 .... got it working with help from TimeTraveller ... (thx m8)

I got some more ascii pics for you to :)) Ill get them to you asap ...
Title:
Post by: Jorgo on 28 February, 2005, 22:34:27
QuoteOriginally posted by madman
One question...
you want it for the lua 4 or the lua5 version, i will do it in the lua5 if i get it to work... and only in lua4 if you really want it....
i have no idea when i gonna release the lua 5 version.... =)

I'd prefer lua5 :-)
I am waiting with the switch to the new ptokax until I have all the scripts that I had in ptokax lua4.
Title:
Post by: Madman on 01 March, 2005, 07:58:39
QuoteOriginally posted by (uk)jay
ok m8 .... got it working with help from TimeTraveller ... (thx m8)

I got some more ascii pics for you to :)) Ill get them to you asap ...
Good you got it working =)

okey... u know where to find me....

QuoteOriginally posted by Jorgo
I'd prefer lua5 :-)
I am waiting with the switch to the new ptokax until I have all the scripts that I had in ptokax lua4.
okey.... i'll look at the random user thing today.. if i dont get a headace as i did last night....
just so u know... this 6.2 version has lua5 support... =)
it just require som extra work for your part ;)
Title:
Post by: Jorgo on 01 March, 2005, 11:38:00
QuoteOriginally posted by madman
okey.... i'll look at the random user thing today.. if i dont get a headace as i did last night....
just so u know... this 6.2 version has lua5 support... =)
it just require som extra work for your part ;)

Thanks!
I've tried 6.2 on lua5, works perfectly :-)
I am just waiting for freshstuff 2.59 to be converted for my final switch, hopefully plop will be nice enough to do it.
Title:
Post by: Jorgo on 02 March, 2005, 21:02:01
I think I found one bug. Could be that I'm just clumsy, though :-)

Running ptokax.lua5, when I do !restartscripts and have the botname set = hubbot, then it unregisters the hubbot.

Have a look at

FunScriptV6.lua   line 147
   frmHub:UnregBot(Bot) --//Unregs The Bot....

When I outcomment the line like above, it seems to work normally.
Title:
Post by: Madman on 02 March, 2005, 21:22:39
QuoteOriginally posted by Jorgo
I think I found one bug. Could be that I'm just clumsy, though :-)

Running ptokax.lua5, when I do !restartscripts and have the botname set = hubbot, then it unregisters the hubbot.

Have a look at

FunScriptV6.lua   line 147
   frmHub:UnregBot(Bot) --//Unregs The Bot....

When I outcomment the line like above, it seems to work normally.

can you explain more... i dont quite understand...

you mean you have
Bot = "HubBot" in settings? or what?
Title:
Post by: Jorgo on 02 March, 2005, 22:01:54
I mean, when i set

registerbot = 0
name of bot = Myhubbot

I am using the inbuilt ptokax bot and put that name in your settings.ini

Hope that helps :-)
Title:
Post by: Madman on 02 March, 2005, 22:31:49
yup.. that helps..
 i'll look in to it... see what i can do =)

Fixed
set RegTheBot to 2 and it will reg the bot but not with a tag...

Quote--//Version 6.3
--//Fixed Bug In RandomThrow
--//Spelling Error Found ;p
--//BugFix with unregistering bot (Thanks Jorgo)
--//Added 2 to RegTheBot, Regs the bot without tag
Title:
Post by: WILDCAT on 03 March, 2005, 08:38:49
GGGgggrrr!!! i just upgraded to 6.2 :P


WILDCAT  8)
Title:
Post by: BigHawk on 05 April, 2005, 09:23:40
Hi Madman
i have a problem using funscript on PtokaX 16.09
was fine on version 16.06
the script still does things like
Hello Hubsters!
But all cmds typed by user or from right click
do nothing any ideas?

Great Script keep up the good work

BigHawk
Title:
Post by: Madman on 05 April, 2005, 10:00:49
hmm.. nope...not now.. but i will, check more later...
have to go to school now..
Title:
Post by: Tw?sT?d-d?v on 05 April, 2005, 14:16:36
QuoteOriginally posted by BigHawk
Hi Madman
i have a problem using funscript on PtokaX 16.09
was fine on version 16.06
the script still does things like
Hello Hubsters!
But all cmds typed by user or from right click
do nothing any ideas?

Great Script keep up the good work

BigHawk

All works ok in my hub (ptokax 16.09)

Have you tried d/l another copy of funscript just incase ur missing files
Title:
Post by: ??????Hawk?????? on 05 April, 2005, 18:26:20
QuoteOriginally posted by BigHawk
Hi Madman
i have a problem using funscript on PtokaX 16.09
was fine on version 16.06
the script still does things like
Hello Hubsters!
But all cmds typed by user or from right click
do nothing any ideas?

Great Script keep up the good work

BigHawk


Try Reordering the Running Order of your scripts...

use the up/down option on the Ptokax script editor Tab..


??????Hawk??????
Title:
Post by: BigHawk on 05 April, 2005, 18:32:22
Hawk
Cheers m8 that worked great
thanks for help guys
in the true spirit of dc allways helpfull

BigHawk
Title:
Post by: ??????Hawk?????? on 05 April, 2005, 18:53:21
Your Welcome M8  ..   :))  :))

* * * NOTE TO EVERY ONE..* * *

Most Security Enabled scripts BLOCK certain  commands/chat from other scripts..

Any problems with Lost commands and none working scripts..  TRY Reordering the running order first.  

Usually putting your MAIN security script to the Bottom..


??????Hawk??????
Title:
Post by: Madman on 10 April, 2005, 14:09:38
Small fix

Version called 6.3 Update

Quote------Update
--//Fixed bug with commands showign up in main(Thanks Stoffy for report)

It's only the the Main file that needs to be updated
Title:
Post by: IVANNOFKE on 13 April, 2005, 17:24:38
Hi Madman.

Downloaded ur script and trying to make it work on lua5.

Found this on ur downloadsite:

Open FunScriptV6.lua
Find the line: --Uncomment If You Are Running A PtokaX That Uses Lua 5
Under that line there is this one... --assert(require("FunScript/Lua5.lua"), "The Lua5 Support file is missing")
Remove the -- signs from it...and then.. u need to open settings.ini
And find PtokaXLua4 = 1 and change it to PtokaXLua4 = 0

I understand it all very well except 1 thing.
Wich signs need to be removed ??
" or () ????

Sorry just no scripter  ?(
Title:
Post by: jiten on 13 April, 2005, 17:46:19
Remove the -- in front of the text.
It should be like this:

assert(require("FunScript/Lua5.lua"), "The Lua5 Support file is missing")

Cheers
Title:
Post by: IVANNOFKE on 13 April, 2005, 21:19:58
TY ALL WORKING FINE NOW!!!
Title:
Post by: IVANNOFKE on 14 April, 2005, 21:24:30
Madman

How does the ascii thing work??
Title:
Post by: Tw?sT?d-d?v on 14 April, 2005, 21:34:02
Go into your funscript folder and settings

find this line.....

--Do You Want To Use The AscII Commands? (Check AscII.txt)
--0 Is Off And 1 On, 0 Is Standard
UseAscIICmd = 0 <<<<<< change to 1

change 0 to a 1
Title:
Post by: IVANNOFKE on 14 April, 2005, 21:42:26
Thanks JAY!!!!

Stupid i am have looked in script a dosen times and didnt noticed that one.
Title:
Post by: jiten on 14 April, 2005, 22:24:00
yw :]
Title:
Post by: Tw?sT?d-d?v on 14 April, 2005, 22:28:29
No probs m8   yw :D