Last edit: @abarnett in <!error getting other user for D6NDVJ8F3> 2 years ago - Slack Archive

{lua} if slack.users.%inp% then
  for i=1,math.random(5,10) do
    print("Is ")
    return slack.users.%inp%
    print(" in the right channel ?\n")
  end
else
  print "no such user"
end

History

Revision: 2120 (deleted) by @abarnett in <!error getting other user for D6NDVJ8F3> 2 years agoSlack Archive

{lua} if slack.users.%inp% then
  for i=1,math.random(5,10) do
    return slack.users.%inp%
    end
else
  print "no such user"
end
{lua} if slack.users.%inp% then
  for i=1,math.random(5,10) do
    print("Is ")
    return slack.users.%inp%
    print(" in the right channel ?\n")
  end
else
  print "no such user"
end
{lua} if slack.users.%inp% then
  for i=1,math.random(5,10) do
    print("Is ")
    return slack.users.%inp%
    print(" in the right channel ?\n") end
else
  print "no such user" end