pls help
 

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

pls help

Started by Danutz, 11 November, 2005, 21:01:44

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Danutz

-- Editable Settings --

-- 1=on / 0=off
SendTo = {
[0] = 1,   -- Masters
[1] = 1,   -- Operators
[2] = 1,   -- Vips
[3] = 1,   -- Regs
[-1] = 1,  -- Users
}

sMenu = "Comenzi Mucea"

-- End Editable Settings --

function OpConnected(user)
      customCMDs(user)
   if (SendTo[user.iProfile]==1) then
      GetRightClickComs(user)
      user:SendData("Hehehe!")
   end
end

function NewUserConnected(user)
      customCMDs(user)
   if (SendTo[user.iProfile]==1) then
      GetRightClickComs(user)
      user:SendData("Hehehe!")
   end
end

function GetRightClickComs(user)
   TCopy={}
   for cmd,_ in LevelCheck do
   if LevelCheck[cmd][user.iProfile] == 1 then
   for value,command in RightClick do
   if cmd == value then
   tinsert(TCopy,{value,command})
   end end end end

   sort(TCopy,function(a,b) return (a[1] < b[1]) end)
   for t = 1, getn(TCopy) do
   if TCopy[t] then user:SendData(TCopy[t][2])
   end end TCopy={} collectgarbage() flush()
end

function customCMDs(user)    
user:SendData("$UserCommand 1 3 \comenzi email\\inbox$<%[mynick]> !inbox %[nick]||")   
user:SendData("$UserCommand 1 3 \comenzi email\\citeste mesaj$<%[mynick]> !readmsg %[nick]||")   
user:SendData("$UserCommand 1 3 \comenzi email\\sterge mesaj$<%[mynick]> !delmsg %[nick]||")   
user:SendData("$UserCommand 1 3 \comenzi email\\trimite mesaj$<%[mynick]> !postmsg %[nick]||")   
user:SendData("$UserCommand 1 3 \comenzi trivia\\Intra in joc$<%[mynick]> joc %[nick]||")   
user:SendData("$UserCommand 1 3 \comenzi trivia\\Indiciu$<%[mynick]> indiciu %[nick]||")   
user:SendData("$UserCommand 1 3 \comenzi trivia\\Intrebarea curenta$<%[mynick]> curent %[nick]||")   
user:SendData("$UserCommand 1 3 \comenzi trivia\\Top 20$<%[mynick]> top20 %[nick]||")
user:SendData("$UserCommand 1 3 \comenzi trivia\\Punctele tale$<%[mynick]> puncte %[nick]||")
user:SendData("$UserCommand 1 3 \comenzi trivia\\Paraseste jocul$<%[mynick]> nujoc %[nick]||")
user:SendData("$UserCommand 1 3 \comenzi zile de nastere\\Lista cu userii inscrisi$<%[mynick]> !birthdays %[nick]||")
user:SendData("$UserCommand 1 3 \comenzi zile de nastere\\Adauga ziua ta$<%[mynick]> !mybirthday %[nick]||")
user:SendData("$UserCommand 1 3 \comenzi zile de nastere\\Varsta ta exacta$<%[mynick]> !myage %[nick]||")
user:SendData("$UserCommand 1 3 \comenzi zile de nastere\\Cine este nascut odata cu tine$<%[mynick]> !bornon %[nick]||")
user:SendData("$UserCommand 1 3 \comenzi diverse\\Regulile hubului$<%[mynick]> !reguli %[nick]||")
user:SendData("$UserCommand 1 3 \comenzi diverse\\Noutatzile hubului$<%[mynick]> !news %[nick]||")   
user:SendData("$UserCommand 1 3 \comenzi diverse\\Programul hubului$<%[mynick]> !program %[nick]||")   
user:SendData("$UserCommand 1 3 \comenzi diverse\\Links$<%[mynick]> !links %[nick]||")   
user:SendData("$UserCommand 1 3 \comenzi diverse\\Bancul zilei$<%[mynick]> !banc %[nick]||")   

end







can any 1 tell me why i'm getiing this error:
Syntax Error: `for' table must be a table  
???????? :(

Danutz

Does any 1 has a script that shows you what you are listening on winamp ? i mean when a user is tiping "/winamp" or "/w", just like in rmDC++, a message in main will be send showing what that user is listening in winamp! pls help me....... :D

DJ Bert

QuoteOriginally posted by Danutz
Does any 1 has a script that shows you what you are listening on winamp ? i mean when a user is tiping "/winamp" or "/w", just like in rmDC++, a message in main will be send showing what that user is listening in winamp! pls help me....... :D

Search the forum, there is a script around here.

Your fist question, i don't see a table. Maybe i'm dump, but is that all you have about that script?

Danutz

so where in the forum can i get that script DJ Bert ? can you just copy here the script :)))) ......thanks for help

Danutz

That script where you have to run Clever and bla bla doesn't work!

DJ Bert

You right Mutor, best option is to use clients like DCDM, RMDC etc. They have all support to write in main the song you playing in winamp


Grtzzz

DJ Bert

Danutz

k....thanks for help  :D

SMF spam blocked by CleanTalk