Paste #14935: Script re-paste from http://hastebin.com/micibekaqu.hs

Date: 2015/04/05 20:00:46 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


chatnow:
  type: world
  events:  
    on player chats:
    - if <player.chat_history> contains shit {
      - run s@chatfilter instantly
      }
chatfilter:
    type: task
    script:
    - narrate "You are being warned for using the word shit."
    - flag player Swear_Count:++
    - if <player.has_flag[Swear_Count]> <= '10.0' {
      - narrate "you have sworn 10 times"
      }