-->Rightclick for ca.25 little scripts<--
 

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

-->Rightclick for ca.25 little scripts<--

Started by Acidpadd, 09 March, 2005, 10:49:15

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Acidpadd

Hello, i am new here!

I want request an script, if`s posseble to create it.  :D
I am not use an Channelbot ore securitybot ...like robocop becurse i use little scripts.(i found for robo already)
But wat i need is an script ware i can edit my own commands for the little scripts with an sub main Menu with his own name wat i like (Withouth Robo ore some kind like it) ? is that posseble ?


It wil be very nice if you can look for an Bot hider Script to (i have seen mutch hubs with 15 bots) i want thake care that on my hub on the biggining not more Bots than users online being online than :=).
Ore an cind of it to hide Bots and ops

thanks for atention .... :))
             ? ? ?? Classical Psytrance ?? ? ?  
?--> psychedeliche.no-ip.org <--?

Cid

just use the same botname for all scripts... if the commands are different that is.

then only one bot shows in the userlist.

Acidpadd

#2
i tryt to run the sript from Rightclicker for Robo .. but he doned work. i do not use robo! .... that script was thinking it is only for robo .. isn`t ?

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

sMenu = "RC"

-- End Editable Settings --

assert(dofile("tbl/checklevel.tbl"),"tbl/checklevel.tbl not found")

function OpConnected(user)
      customCMDs(user)
   if (SendTo[user.iProfile]==1) then
      GetRightClickComs(user)
      user:SendData(" Enhanced Right Click Support for [RoboCop] is available!")
   end
end

function NewUserConnected(user)
      customCMDs(user)
   if (SendTo[user.iProfile]==1) then
      GetRightClickComs(user)
      user:SendData(" Enhanced Right Click Support for [RoboCop] is available!")
   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 "..sMenu.."\\play a round\\punch$<%[mynick]> !punch %[nick]||")   --   punch  
user:SendData("$UserCommand 1 3 "..sMenu.."\\play a round\\slapper$<%[mynick]> !slap %[nick]||")   --   slap
user:SendData("$UserCommand 1 3 "..sMenu.."\\play a round\\Aliens$<%[mynick]> !Alien %[nick]||")   --   Alien
user:SendData("$UserCommand 1 3 "..sMenu.."\\play a round\\farting$<%[mynick]> !fart %[nick]||")   --   fart
user:SendData("$UserCommand 1 3 "..sMenu.."\\play a round\\cunt munching$<%[mynick]> !cunt %[nick]||")   --   cunt
user:SendData("$UserCommand 1 3 "..sMenu.."\\play a round\\dick$<%[mynick]> !dick %[nick]||")   --   dick
user:SendData("$UserCommand 1 3 "..sMenu.."\\play a round\\kiss$<%[mynick]> !kiss %[nick]||")   --   kiss
user:SendData("$UserCommand 1 3 "..sMenu.."\\play a round\\love$<%[mynick]> !love %[nick]||")   --   love

end

RightClick = {
[10]="$UserCommand 1 3 "..sMenu.."\\KICK/BAN\\Kick User$<%[mynick]> !kick %[nick] %[line:Reason]||",   -- kick
[20]="$UserCommand 1 3 "..sMenu.."\\KICK/BAN\\Ban



........ the message is to long i can not post the whole script :((
             ? ? ?? Classical Psytrance ?? ? ?  
?--> psychedeliche.no-ip.org <--?

(NL)waarom

hai Acidpadd
trey this one
---------------------------------------------------------------------

-- rightclicker
Bot = "Richtclik"   -- your main bot here
SendComm = 1    -- Send user command [right click] "1"=yes "0"=no
fMenu = "-=( Rightcklik )=-" -- funMenu Name

SetTo = {
 [0] = 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 "..fMenu.."\\play a round\\punch$<%[mynick]> !punch %[nick]||") -- punch
                user:SendData("$UserCommand 1 3 "..fMenu.."\\play a round\\slapper$<%[mynick]> !slap %[nick]||") -- slap
                user:SendData("$UserCommand 1 3 "..fMenu.."\\play a round\\Aliens$<%[mynick]> !Alien %[nick]||") -- Alien
                user:SendData("$UserCommand 1 3 "..fMenu.."\\play a round\\farting$<%[mynick]> !fart %[nick]||") -- fart
                user:SendData("$UserCommand 1 3 "..fMenu.."\\play a round\\cunt munching$<%[mynick]> !cunt %[nick]||") -- cunt
                user:SendData("$UserCommand 1 3 "..fMenu.."\\play a round\\dick$<%[mynick]> !dick %[nick]||") -- dick
                user:SendData("$UserCommand 1 3 "..fMenu.."\\play a round\\kiss$<%[mynick]> !kiss %[nick]||") -- kiss
                user:SendData("$UserCommand 1 3 "..fMenu.."\\play a round\\love$<%[mynick]> !love %[nick]||") -- love


   end
end


OpConnected = NewUserConnected

function Main()
   --frmHub:RegBot(Bot)
end

Quattro

This can only work if robocop profiles are installed or he has the exact same levels....
quattro-place.no-ip.com:1418
PtokaX DC Hub 0.3.3.0 build 17.09 Not Running :(
wdp10.no-ip.info:1412
DCH++ v1.0-Release (Plugin API v1.0) Special Quattro? Build
For DCH scripting and plugins

SMF spam blocked by CleanTalk