PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: B@B? on 13 June, 2005, 10:44:40

Title: PM-Blocker
Post by: B@B? on 13 June, 2005, 10:44:40
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  ;)
Title:
Post by: jiten on 13 June, 2005, 12:29:48
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
Title:
Post by: B@B? on 13 June, 2005, 12:40:11
Y E ZZZzzzzzzzzzzzzzzzzzz!  :D

That is all???  :rolleyes:
Title:
Post by: Dessamator on 13 June, 2005, 12:47:21
indeed, thats the most simplified way of doing so, :)
Title:
Post by: B@B? on 13 June, 2005, 12:51:28
Hihi...seems simple *gfg*

However; THX!  :P
Title:
Post by: jiten on 13 June, 2005, 13:07:41
QuoteOriginally posted by B@B?
That is all???  :rolleyes:
Yes, that's all, just like Dessamator said :D

Cheers
Title:
Post by: B@B? on 13 June, 2005, 13:11:16
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