PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Quattro on 05 February, 2005, 18:37:25

Title: Ptokax to DCH++ commands
Post by: Quattro on 05 February, 2005, 18:37:25
Hi guys i need a script that can convert Ptokax commands to DCH++ commands in lua 5.02. so it's just a translator from ptokax style commands to dch++ commands

*edit*
I mean like the kick commands
so i can use my ptokax based raw commands and the hub will
then change !kick to +banuser 30

*edit*

Title:
Post by: Quattro on 05 February, 2005, 18:43:35
By the way...
several weeks ago there was someone who suggested a new thread group for dch++
Or a new group for lua 5.02 scripts
Title:
Post by: bastya_elvtars on 05 February, 2005, 19:49:07
QuoteOriginally posted by Quattro
By the way...
several weeks ago there was someone who suggested a new thread group for dch++
Or a new group for lua 5.02 scripts

If you find either Ptaczek or OpiumVolage and get in contact with them and ask for it there will be one.
Title:
Post by: ??????Hawk?????? on 05 February, 2005, 20:09:02
hi m8  

install the  OpCom  plug in  .  it has the right click commands  already...

??????Hawk??????
Title:
Post by: Quattro on 05 February, 2005, 20:46:36
I know how opcom works, including opcomextra...
but i have raw commands in my adl search and they are written for ptokax and i'm running both a ptokax hub and a dch hub...
and i want the raw command to be the same as it is now..
so i need a script for dch that can translate the ptokax kicks to a dch ban
Title:
Post by: ??????Hawk?????? on 05 February, 2005, 20:56:17
hi m8  ..  

Have you tried editing the  OpCom extra  and adding them to it  ...

paste your  Commands in here  and ill have a look  


??????Hawk??????
Title:
Post by: Quattro on 05 February, 2005, 21:39:27
hmmm i'll try to explain one more time...
I have raw commands in my dcdm++'s adl search, they are written for ptokax.
Now i run another hub but its dch..
basically, what i want is, keep using the old raw commands for both ptokax and dch...
hope it's more clear now
Title:
Post by: ??????Hawk?????? on 05 February, 2005, 21:54:44
hi m8  

Quotepaste your Commands in here and ill have a look

I cannot guess what your commands are  ..

??????Hawk??????
Title:
Post by: Quattro on 05 February, 2005, 22:05:28
$To: %[nick] From: %[mynick] $<%[mynick]> You are being kicked because: %[clienttype] - %[cheatingdescription]|<%[mynick]> is kicking %[nick] because: %[clienttype] - %[cheatingdescription]|<%[mynick]> !kick %[nick] %[cheatingdescription]|

It has some unneccesary parts i know...
but i want a script that can convert the !kick %[nick] %[cheatingdescription]

to

+banuser %[nick] 30 %[cheatingdescription]
Title:
Post by: Quattro on 05 February, 2005, 22:07:51
maybe i can do it with one of the existing scripts by the way :S
dunno...
there was a script that could replace words, but that was antileet
Title:
Post by: Quattro on 06 February, 2005, 00:04:51
the raw commands in adl search don't work per hub...
it's one raw or another

*edit*
or does anyone know a way to type in the adlsearch something like raw 1 and it takes the raw 1 from the hub involving
*edit*
Title:
Post by: Quattro on 06 February, 2005, 10:37:18
hey man thanks
i'll try it
:P
Title:
Post by: Quattro on 06 February, 2005, 10:45:27
$To: %[nick] From: %[mynick] $<%[mynick]> You are being kicked because: %[cheatingdescription]|<%[mynick]> +banuser %[nick] 30 %[cheatingdescription]|

this is my new raw command to kick bad clients.....
hope it works :P

hmm forgot a space i think after the first |
Title:
Post by: Quattro on 06 February, 2005, 10:52:13
hmmm no there shouldn't be space over there  :D