SteamyPotatoes

Untitled

Jun 15th, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. a, b = os.pullEvent("player")
  2. #a = "player", b = "zekesonxx" (me)
  3. if b == "Shivy011" or "namehere" then
  4. code()
  5. end
  6. #The if statement is saying:
  7. if b == "Shivy011"
  8. #Which equals false, because Me != You
  9. #The statement is then saying:
  10. if "namehere"
  11. #"namehere" is not "nil", nil, 0, or false so it returns true.
  12. #Instead, do:
  13. if b == "Shivy011" OR b == "namehere" then
Add Comment
Please, Sign In to add comment