PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Request for scripts => Topic started by: Derk_B_P on 08 April, 2009, 01:30:58

Title: NickName+[NetWork]
Post by: Derk_B_P on 08 April, 2009, 01:30:58
Hello. I need a script.

OnUserConnect add to nick some word. Network name.

net1 = 172.16.0.1-172.16.255.255 - [id]
net2 = 10.100.0.1-10.100.255.255 - [ds]

Example: If my IP=172.16.20.20 when script change my name to Derk_B_P[id]

If this impossible, when just drop user with message:
"You are from %net1. Please change your nick to %user_nick[id/ds] 
(if user from %net1 and (%user_nickname not %user_nickname[id]) then drop)

PtokaX 0.4.1.1
Title: Re: NickName+[NetWork]
Post by: Derk_B_P on 08 April, 2009, 21:36:30
Any chance to see this script here?
Title: Re: NickName+[NetWork]
Post by: Derk_B_P on 08 April, 2009, 22:00:00
Wonderful! I will wait with impatience.
Title: Re: NickName+[NetWork]
Post by: Derk_B_P on 09 April, 2009, 00:12:36
Great! Thank you.

Closed.