Bigcrushestfm

LUA 2nd attempt

Sep 6th, 2013
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. function eventChatCommand(playerName,command)
  2. if command=="help" then
  3. tfm.exec.chatMessage("Here's some help for you,"..playerName.."! In this game, you must push the wooden block to the direction of YOUR cheese. It’s based on luck, so don’t be demoralised :3")
  4. end
  5. end
  6. function eventNewPlayer(playerName)
  7. tfm.exec.chatMessage("Welcome,"..playerName..", to <ROSE>#tugofwar<BL>, where you have to fight the other team. Type <N>!help<ROSE> for help.")
  8. end
  9. function eventNewGame()
  10. tfm.exec.disableAutoTimeLeft(true)
  11. tfm.exec.chatMessage("PUSH!")
  12. tfm.exec.setGameTime(50)
  13. end
  14. tfm.exec.newGame("@4282814")
Advertisement
Add Comment
Please, Sign In to add comment