PM-Blocker
 

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

PM-Blocker

Started by B@B?, 13 June, 2005, 10:44:40

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

B@B?

Hi Ppl  :P

I need an script wich blocks PM for different Profiles  like User or Reg. Cause i can?t find
something like that i ask 4...in the morning someone with Nick "Gatasamu" had log in and
sended Porn-Advertising via PM to the Ppl...

Lucifer didn?t act... X(

(Thread in Thread "Help" about this i?ll making now...)

Tha Hanks  ;)
THE DAY AFTER...  

...is >>>>>>>> NOW!




Btw:
Plz excuse my english...
It?s not the best, i?m sure...but it?s funny...isn?t it?

jiten

Something like this?
-- PM Blocker by jiten (6/13/2005)

AllowedProfiles = { -- Profiles Allowed to use PMs
	[-1] = 0, -- unreg
	[0] = 1, -- master
	[1] = 1, -- operator
	[2] = 1, -- vip
	[3] = 1, -- reg
	[4] = 1, -- moderator
	[5] = 1, -- founder
}

ToArrival = function(user, data)
	if AllowedProfiles[user.iProfile] ~= 1 then
		return 1
	end
end

B@B?

Y E ZZZzzzzzzzzzzzzzzzzzz!  :D

That is all???  :rolleyes:
THE DAY AFTER...  

...is >>>>>>>> NOW!




Btw:
Plz excuse my english...
It?s not the best, i?m sure...but it?s funny...isn?t it?

Dessamator

indeed, thats the most simplified way of doing so, :)
Ignorance is Bliss.

B@B?

Hihi...seems simple *gfg*

However; THX!  :P
THE DAY AFTER...  

...is >>>>>>>> NOW!




Btw:
Plz excuse my english...
It?s not the best, i?m sure...but it?s funny...isn?t it?

jiten

QuoteOriginally posted by B@B?
That is all???  :rolleyes:
Yes, that's all, just like Dessamator said :D

Cheers

B@B?

Yepp and so...

Anotherone you saved my life... :D

This fucking As will never have any chance to advertise
4 his Pornsides in Internet...Goiiiiiiil!  :P
THE DAY AFTER...  

...is >>>>>>>> NOW!




Btw:
Plz excuse my english...
It?s not the best, i?m sure...but it?s funny...isn?t it?

SMF spam blocked by CleanTalk