Author Topic: rightclick-menu  (Read 2466 times)

0 Members and 1 Guest are viewing this topic.

Offline [NL]ben

  • Junior Member
  • **
  • Posts: 17
  • Karma: +1/-0
    • THE HOT NETWORK NEW STYLE forum
rightclick-menu
« on: 24 March, 2008, 12:58:12 »
can somebody converse this nice script


--rightclick-Menu
Bot = "??????Serurity-Guard??????" -- your main bot here
SendComm = 1 -- Send user command [right click] "1"=yes "0"=no
fMenu = "-=(Rightclicks)=-" -- funMenu Name

SetTo = {
  • = 1, -- Masters
  • [1] = 1, -- Operators
    [2] = 1, -- Vips
    [3] = 1, -- Regs
    [4] = 1, -- Moderator
    [5] = 1, -- NetFounder
    [-1] = 1, -- Users
    }
    --------------------------------------------------------------------------------------------------------------------

    --$UserCommand 1 X Where -> 1=Hub Menu 2=User Menu 3=Hub/User Menu
    --
    function NewUserConnected(user)
    if SendComm == 1 and SetTo
[user.iProfile] == 1 then
user:SendData("$UserCommand 1 3 THIS HUB VOTE\\GIVE THIS HUB A VOTE$<%[mynick]> !vote&#124;|")   -- vote this hub
user:SendData("$UserCommand 1 3 Extra\\YOU IP$<%[mynick]> !myip&#124;|")   -- Your ip
user:SendData("$UserCommand 1 3 Extra\\HUBRULES$<%[mynick]> !rules&#124;|")   -- Hubrules
user:SendData("$UserCommand 1 3 Extra\\MY INFO$<%[mynick]> !myinfo&#124;|")   -- You Info
user:SendData("$UserCommand 1 3 Extra\\JOUW TOTALE ONLINE TIJD$<%[mynick]> !myhubtime&#124;|")   -- You hubtime
user:SendData("$UserCommand 1 3 Extra\\THIS NETWORK$<%[mynick]> !network&#124;|")   -- More network
user:SendData("$UserCommand 1 3 Extra\\hubregels$<%[mynick]> !rules&#124;|")   -- More network


end
end


OpConnected = NewUserConnected

function Main()
--frmHub:RegBot(Bot)
end
member of the thnns network
hollandse-mp3-paleis.no-ip.info

PtokaX forum

rightclick-menu
« on: 24 March, 2008, 12:58:12 »

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Emperor
  • **
  • Posts: 1 054
  • Karma: +112/-1
  • I am wherever i want to be
    • PtokaX Luaboard
Re: rightclick-menu
« Reply #1 on: 24 March, 2008, 14:49:05 »
American Idiot has made a RC script for the new API including the ptokax inbuilt md's. Sometimes using the search function on this board does help find this stuff

PxCommands 1.1c Lite Ed. For the new API
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Offline [NL]ben

  • Junior Member
  • **
  • Posts: 17
  • Karma: +1/-0
    • THE HOT NETWORK NEW STYLE forum
Re: rightclick-menu
« Reply #2 on: 24 March, 2008, 17:00:18 »
thanks Psycho_Chihuahua but
i look that scrip but thats not whare im looking for
i need only a simple script to make txt files that become in rc
thats whij i like that rightclick-menu script
sorry for mij bad english
member of the thnns network
hollandse-mp3-paleis.no-ip.info

Offline [NL]ben

  • Junior Member
  • **
  • Posts: 17
  • Karma: +1/-0
    • THE HOT NETWORK NEW STYLE forum
Re: rightclick-menu
« Reply #3 on: 26 March, 2008, 23:03:35 »
sorry i dont get that script working
member of the thnns network
hollandse-mp3-paleis.no-ip.info

Offline [NL]ben

  • Junior Member
  • **
  • Posts: 17
  • Karma: +1/-0
    • THE HOT NETWORK NEW STYLE forum
Re: rightclick-menu
« Reply #4 on: 27 March, 2008, 00:30:06 »
yes i got the the extension library
but i have the old script converted whit the converter and its works
thanks anyway American Idiot
member of the thnns network
hollandse-mp3-paleis.no-ip.info

Offline [NL]ben

  • Junior Member
  • **
  • Posts: 17
  • Karma: +1/-0
    • THE HOT NETWORK NEW STYLE forum
Re: rightclick-menu
« Reply #5 on: 27 March, 2008, 12:37:10 »
i dont now the problem
i got here a printscreen of my testhub
i hope you no the problem
maybe i do something wrong
member of the thnns network
hollandse-mp3-paleis.no-ip.info

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 725
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
Re: rightclick-menu
« Reply #6 on: 27 March, 2008, 14:51:27 »
American Idiot why don't you just pack PXLFS with your scripts? It would make your life much easier. :-)
Everything could have been anything else and it would have just as much meaning.

PtokaX forum

Re: rightclick-menu
« Reply #6 on: 27 March, 2008, 14:51:27 »