[anything]before nickname script !!!
 

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

[anything]before nickname script !!!

Started by juda, 05 February, 2005, 08:54:02

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

juda

*
  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 !!!

   
juda

juda

Also included in script please...!!!

Users who can enter in hub without ISP

--- VIP users,OPERATORS,MODERATORS...
--- MASTERS,ADMIN,HUB OWNER,NetFounder...
--- All bots...
juda

juda

Anybody ??? Please for help...
Can I change in Ptokax to allow all ISPs not just country ???
juda

juda

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...
juda

juda

Thanks...I will tested when get back from job...
juda

juda

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 !
juda

bastya_elvtars

This depends on DC++ version. I bet if you login with 0.306 and 0.666 you will get diff. results.
Everything could have been anything else and it would have just as much meaning.

juda

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 !!!
juda

juda

Sorry,my mistake...
for bot I will use "[BOT]Blocker" not "===[BLOCK]===
------------------------------------------------------------
juda

juda

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...
juda

juda

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
juda

juda

*
_____________________________________________
--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.
_____________________________________________
juda

SMF spam blocked by CleanTalk