PtokaX forum

Archive => Grimoire => AllInOne Scripts => Archived 5.0 boards => Grimoire - Requests => Topic started by: Syphrone-NL on 15 May, 2006, 20:47:56

Title: Help with WelcomeInfoFunction
Post by: Syphrone-NL on 15 May, 2006, 20:47:56
I just added A network to octavo but now i cant see anymore the moderators before i added the network i could see them
I use ptokax 0.3.4.0

And i added Netfounders but cant see them to


local sFounders = ""
for x, user in pairs(frmHub:GetOperators()) do
if user.iProfile == 5 then
sFounders = sFounders..user.sNick..", "
end
end
sFounders = string.sub(sFounders, 1, -3)
if sFounders ~= "" then
disp = disp.."?? Netfounders : "..string.gsub(sFounders,", ","\r\n?? \t\t\t  ").."\r\n"
end


Is this correct or is it sNetfounders

Please help

Thx
Syphrone
Title: Re: Help with WelcomeInfoFunction
Post by: Rincewind on 15 May, 2006, 23:09:53
sFounders is just the name of the variable. As long as you use the same one throughout, it's name is irrelevant.

What do you mean you added a Network?
Title: Re: Help with WelcomeInfoFunction
Post by: Syphrone-NL on 16 May, 2006, 07:41:49
Quote
What do you mean you added a Network?

In octavo you can add a network name and network founder and the network hubs
I filled in the forms and now i cant see moderator and netfounder in the welcome info
Title: Re: Help with WelcomeInfoFunction
Post by: Syphrone-NL on 17 May, 2006, 19:58:00
Tested the whole script in a test hub
just copied the all the files
and its working  :-\

Copied it back and its not working correct
maybe to many mods and founders???
Title: Re: Help with WelcomeInfoFunction
Post by: Rincewind on 17 May, 2006, 20:02:58
The number of them should not matter.

What happens if you also copy over the registeredusers.xml into the test hub?
Title: Re: Help with WelcomeInfoFunction
Post by: Syphrone-NL on 18 May, 2006, 07:47:06
gonna try that later this day