ask for slot = warn or kick?
 

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

ask for slot = warn or kick?

Started by zinden, 18 October, 2003, 17:52:14

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zinden

hello all, can someone make a script that will warn a user or kick a user when he ask for a slot thru PM?

if warn then: 3 warnings = ban

Xion++ - Where it all begins
http://www.zinden.net

BlazeXxX

Hmm How do u know that the user is asking for slots ?

You can ask in lot of ways:

e.g.
1) Can I have a slot please?
2) I need 1 slot please?
3) Can you open an extra slot please?

If you notice the  common msgs.. It can only count if u add the word "slot", which is a normal word..

I recommend you add it to ur hub rule :)

pHaTTy

here is my little script that i was originally writing for my Keiko/Gekko script, but here i ripped it, i will be adding warning to it soon ;)

--KeikoNoAskSlotBot by Phatty
--v1.00

Bot = "Keiko"
Time = "1" --mins to be banned for

function DataArrival(user,data)
s,e,data = strfind(data, "%b<>([%a ]+)")   
	if( strfind(data, "have" and "slot") ) then
		user:SendData(Bot,"Do not ask for slots...goodbye :o)")
		user:TimeBan(Time)
		SendToAll(Bot,user.sName.." was banned for "..Time.."mins for asking for a slot")
	return 1
	end
end


l8rr,,

-phatty
Resistance is futile!

pHaTTy

nm ive started updating already come look HERE

enjoy;)

-phatty
Resistance is futile!

SMF spam blocked by CleanTalk