Gotta Override!
 

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

Gotta Override!

Started by Wolfbane99, 21 May, 2004, 14:34:07

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Wolfbane99

I've made a script with a new command that will substitute the command implemented in a bot...but i cannot override it! The bot-command comes before my indipendent-command!

Some ideas? ah, i can't disable the command and cannot delete the command from the bot

NotRabidWombat

Change the name of the script to be something like: aaa_scriptname.lua. Then look in the script loading window to make sure the script that you want to catch the data first is loaded first. The order the scripts are loaded is the same order they recieve data.

-NotRabidWombat


I like childish behavior. Maybe this post will be deleted next.

Wolfbane99

it's not running...i cant make the script go on top of the loaded scripts in ptokax... thanks however for the hint...some other ideas?

plop

also rename the other script but now with zzzzzzzzz infront of the name.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Wolfbane99

that's the right answer!  ;)
thx a lot guys! however is strange that i must rename the other script even if the script was already in alphabetical order...

Wolfbane99

up!

i got a new problem!
the trick used to drop in the alphabetical order the gotta-override script worked only with the 3.2.6 td 4
But i got a new version and that isn't workin...even if the script dropped down in the list...ideas?

plop

make them 1 script.
not easy 2 do on all scripts but definatly solves it.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Wolfbane99

cannot do that, the bot i'm trying to override is compiled

SaintSinner

if its compiled and you cant edit that one then change the command you created:
 
if its
!rules
try
!hubrules

if its
!kick

try
!kill
   


NotRabidWombat

"But i got a new version and that isn't workin...even if the script dropped down in the list...ideas?"

Submit a bug report and go back to a previous version. That's the way betas are.

-NotRabidWombat


I like childish behavior. Maybe this post will be deleted next.

Wolfbane99

QuoteOriginally posted by SaintSinner
if its compiled and you cant edit that one then change the command you created:

but i'm trying to override the command, i dont want another one  :P

QuoteOriginally posted by NotRabidWombat
Submit a bug report and go back to a previous version. That's the way betas are.

yup,k  :D

SMF spam blocked by CleanTalk