PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: juda on 05 February, 2005, 08:54:02

Title: [anything]before nickname script !!!
Post by: juda on 05 February, 2005, 08:54:02
*
  Hay !!!
 
   Please for your help...In ptokaX is already inbuild to put
   [country_code]before nickname...but allow only country code like:
     [EU];[USA];[SWE];[FIN];[SLO].....

   I like to have script to allow all kind of ISP :
   to have all connected users ISP before nick

   with  [ .... ]  and  ( .... )

   Alowed all ISP like:

   [2Mbit]KalleKula  -----  [RO](B)Eddy  
   [420][SLO]svenskamuri  -----  (10mb)(ss)ighh
   [5/5]Mikke  ----- (all numbers)nickname
   [ADSL]Veera  ----- (all ISPs)nickname  
   [-m-]Alcibiades  ----- (all signs)nickname  
   [EU]Angelis  ----- (all country codes)nickname  
   [RO][EVDO]l3on3  ----- (all fronts)nickname


   When user connected to the hub and dont have ISP say:
   Exemple:
   For this hub you must have [xxx] or (yyy) before nickname...
     Put hub in favorites and go to -properties  
     in nickname window type

     [xxx]yournickname or (xxx)yournickname and reconnect...

     You allowed to put in [...] or (...) what you are like....

    Any help???
    Any tips !!!

   
Title:
Post by: juda on 05 February, 2005, 09:54:15
Also included in script please...!!!

Users who can enter in hub without ISP

--- VIP users,OPERATORS,MODERATORS...
--- MASTERS,ADMIN,HUB OWNER,NetFounder...
--- All bots...
Title: ???
Post by: juda on 08 February, 2005, 06:38:09
Anybody ??? Please for help...
Can I change in Ptokax to allow all ISPs not just country ???
Title:
Post by: juda on 14 February, 2005, 16:18:00
Hay...m8 and thanks for your time....Script is great,just what I look...
I already tested script and this is what happen...
Work good,but when the time is over, block also users with prefix...
I found in "BlockedUsers.dat" nicks with prefix...
--------------------------------------------------
BlockedNicks = {
   ["[psv]tsts"] = 1,
   ["oivakuoma"] = 1,
   ["nerko"] = 1,
   ["jokicastokica"] = 1,
   ["bigmike073179"] = 1,
   ["[chello]allewalle"] = 1,
   ["pino"] = 1,
   ["[0.5]npekka"] = 1,
}
---------------------------------------------------
Put time to block in 2 minutes...
Title:
Post by: juda on 15 February, 2005, 05:48:25
Thanks...I will tested when get back from job...
Title: Hay from Slovenija
Post by: juda on 15 February, 2005, 19:30:19
Well done...Now test a lot of different [prefix],tested also prefix [0.5],[100mbit],(1/8),(0.5mbit) and work...

--- One strange thing for send menu and stopping my script for rightclick...!!!
 
If I enable command to send right click menu to OP,work good,but,
1.-send in menu hub name,not the name that I put in script...script send in my menu my hub name:[[[NORDSTORM]]]...
I change it ===[BLOCK]===
-----------------------------------------------------------------------
--MenuName = "===[ BLOCK ]==="   --Custom menu name
-----------------------------------------------------------------------
2.-And than also don`t send my rc menu that I run from other script "zRightclick" for RoboCop...
If I miss something,sorry!

--- Have one request if my ask...
     Please if you can send me a tip,how to change to send warning message to PM !!!
(Times up, you have failed to correct your nick-Your file transfers and searches are now blocked)

I now that must change "SendData" to "SendPM" I  try this,but dont send message to PM....
Please for help !
Title:
Post by: bastya_elvtars on 15 February, 2005, 20:36:07
This depends on DC++ version. I bet if you login with 0.306 and 0.666 you will get diff. results.
Title:
Post by: juda on 15 February, 2005, 21:01:07
When I disable to send menu from script than all work good...send also my commands from "zrightclick" script...



Right click menu dosnt metter for me....I will run just my script !!!
I will have this options disable !!!
Title:
Post by: juda on 15 February, 2005, 21:05:55
Sorry,my mistake...
for bot I will use "[BOT]Blocker" not "===[BLOCK]===
------------------------------------------------------------
Title: All prefixes alowed if can
Post by: juda on 17 February, 2005, 17:51:01
I tested more and get blocked users with prefix:
[us];[cz],(2mps),[fin],(slo),[bbb],(bbb)
[[[nordstorm]]],(8/1),[scream],(dk),(pol)

Can you put in script to allow also little characters...if can be done?
If you can please do to allow all kind of different characters and numbers...
Title:
Post by: juda on 19 February, 2005, 16:13:47
1 question....
You can change or put in script to:
1. Block user after x-time (this alredy do)
2. Disconect user without prefix on connect and send message:
"You must have prefix before nick to enter this hub...you allowed to use all kind of [prefixes]...."


Thanks
Title: Hay !!!
Post by: juda on 20 February, 2005, 08:13:47
*
_____________________________________________
--MembersOnly 1.2d
This version work great,just one thing I forgett to say,that after Max. allowed time before block,don`t
send message to user....
"Times up, you have failed to correct your nick.Your file transfers and searches are now blocked !!! "

_____________________________________________
--MembersOnly 1.2e
I already test....and found this...
1. Don`t block user after Max.time before block
2. Don`t send message ""Times up, you have failed to correct your nick.Your file transfers and searches are now blocked !!! "
3. When is option to disconnect user "yes" work good,just message stay the same as for block:
"Please put any [prefix] or (prefix) before nick.You have 5 minutes to put prefix before nick or you will be blocked.....
Please  if you can change to send only:
"Please put any [prefix] or (prefix) before nick.Illegal charachters used...Only alphanumeric charachters allowed.
You can use, [bbb]sser [NL]sser or (DSL)sser or {5/1}sser for example.
_____________________________________________