help!! web reg script
 

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

help!! web reg script

Started by kbeh273300, 30 October, 2003, 05:44:04

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kbeh273300

i have a script that i want to use but i have a problem i was hopeing someone could help me out please.
the problem i have is that the script creates a new profile for a user that has been reged via the web but my hub bot cb4.3c-fix doesnt understand so i cant upgrade there status.is there anyway i someone can mode the script to work with a profile that is already there like newbie? so that when it reges the user the user will be given the newbie status that my script can understand? btw the profile for newbie is 4


function Main()
   SetTimer(60000)
   StartTimer()
   AddProfile("User", 2147500032)
end


function OnTimer()
--// Read a complete RegUserQueue.dat file line for line and print them in the mainchat
   readfrom("../RegUserQueue.dat")
   while 1 do
      local line = read()
      
      if (line == nil) then
         break
      else
         AddRegUser(strsub(line, 1, strfind(line, "|") - 1), strsub(line, strfind(line, "|") + 1), GetProfileIdx("User"))
      end
   end
   readfrom()
--// call readfrom() at the end to close the file


--// Purge the RegUserQueue.dat file
   writeto("../RegUserQueue.dat")
   write("")
   writeto()
--// call writeto() at the end to close the file
end


--// function NewUserConnected(curUser)
   --// if (curUser.iProfile = -1 and [curUser.sName ~= "zSearch[moglo]" or curUser.sName ~= "7www.glosearch.tk"]) then
      --// This is where we would kick non registered users but not GloSearch users!
   --// end
--// end

-----------------------------------------------------------------
also it is supose to print in main chat i think that user has been reged ?




-=United Kings network=-
Network Webpage?
Hub address: houseofkings.no-ip.org:420
hub webpage
hub forum

SMF spam blocked by CleanTalk