I need a script that wont let users in without 500mb of share, this must be standalone and not built into another script. I must also be able to do the function +checkshare and it will give me an answer whether the user has the correct share amount
thanks
p.s only op's can use the +checkshare command
what is the point of a check share command for size, if
the script is not supposed to let that size and bellow in?
at any rate... do a strfind on the myinfo string for the byte size... then compare it to the bytes in 500mb.
this does half of what u want, the other half is pointless the way it was explained.
function NewUserConnected(user)
local s,e,Share = strfind(user.sMyInfoString, "^%$MyINFO %$ALL [^ ]+ [^$]*%$ $[^$]+[^$]%$[^$]*%$%s*(%d+)%$" )
if tonumber(Share) < 524288000 then
--share too small, do stuff.
end
end
i just had an idea!!! instead of tying out +checkshare ....
look over to the right, and there is their share!
lol, sorry :D
-BH
nice script, i'll have to remember that stuff about
waiting to boot so users are sure t get their parting
messages.
QuoteOriginally posted by Mutor
P.S. For BottledHate: do stuff. <-Love that bit 8-)
:D what, you don't know the universal dostuff function ???? ;)
lol...
i was trying to encourage learning.
-BH
yeah I love doStuff() it is so much better than toDo() ... :D
Btw have you checked ShaveShare v5 ?
heya peeps
doStuff() and toDo() are so Outdated..
try the new ExecuteCrap() .. it works Great.. :P
:D :D :D :D :D :D
QuoteOriginally posted by ??????Hawk??????
heya peeps
doStuff() and toDo() are so Outdated..
try the new ExecuteCrap() .. it works Great.. :P
:D :D :D :D :D :D
loly thats still something to play with ;D
hmmmmmmm, that function looks pretty damn cool...
very efficient, gets to the point, and leaves nothing
for you to wonder about.... :D :D i'll def have to use
executeCrap() in my next help post... LOL
-BH