Hi! Another script request...
I wanted a script to disable empty lines in main: user can't send a message to main without any words (or only with SPACEs)
Example: If I press SPACE button on my keybord and then press ENTER, in main chat appears:
[21:44]
I wanted that if there no sybols or words in message (or only SPACEs) it will not go to main.
Is it possible? :)
this will do..
function DataArrival(user, data)
if strsub(data, 1, 1) == "<" then
if strfind(data, "^%b<> %s*%|$") then
return 1
end
end
end
Thanx! It works fine! :))
cooL script :D