!setredirect according to share, slots, hubs and hub full
 

!setredirect according to share, slots, hubs and hub full

Started by morphie, 29 September, 2004, 01:47:13

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

morphie

Hello,

Ive been searching for a script like this:

!setredirect
which will set a redirect address for each according to:

share: the minimum share not met
slots: the minimum slots not met
hubs: in too many hubs
full: when hub is full

so that it can redirect automatically to different hubs depending on those 4 things.

Thanks a bunch :)

nErBoS

Hi,

Hope it helps...

--## REDIRECT MANAGER BOT
--## Requested by morphie 
--## Made by nErBoS
--## Command:
--##	!setredirect 

Best regards, nErBoS
--## nErBoS Spot ##--

morphie

#2
Thanks alot!
That's perfect! I had a few problems i first but got it figured out, it works perfectly as I wanted it. Thanks a bunch :)

morphie

Ok I spoke too soon, I now get a Syntax error when new users join the hub:

Syntax error: bad argument #1 to `find' (string expected, got nil)
stack traceback:
   1:  method `find' [C]
   2:  function `NewUserConnected' at line 107 [file `C:\Program Files\Ptokax\scripts\Redirect.lua']

nErBoS

Hi,

Have you added anything to the script ?? Because the line of the error is not from newuserconnected function. If yes post it here please. Another question, do you permit NMDC or DC with no tags in your HUB ??

Best regards, nErBoS
--## nErBoS Spot ##--

morphie

Nope i havent added anything and yes i permit NMDC and clients with no tags. Does that explain it?

nErBoS

Hi,

I need the script that you are using.

Best regards, nErBoS
--## nErBoS Spot ##--

SMF spam blocked by CleanTalk