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
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 :)
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
nm ive started updating already come look HERE (http://board.univ-angers.fr/thread.php?threadid=143&boardid=12&sid=780c3e4bcf722326bc2a8864a3694f14&page=1#2)
enjoy;)
-phatty