Date: 2014/08/13 17:22:36 UTC-07:00
Type: Denizen Script
bookstorechick:
type: assignment
actions:
on assignment:
- trigger name:click state:true
- trigger name:chat state:true
on click:
- ^if !<player.has_flag[bookgirl_chat]> flag player bookgirl_chat:0
- ^if <player.flag[bookgirl_chat]> == 0 narrate Format:ChatW "Hi, welcome to the book store! Buy a book by clicking on a BookShop sign. No refunds!"
- ^if <player.flag[bookgirl_chat]> == 1 narrate Format:ChatW 'I recommend reading "The Ugly Barnacle", that's a good one!"
- ^if <player.flag[bookgirl_chat]> == 2 narrate Format:ChatW 'Do you have a book that you want to get published here? Tell an admin!'
- ^if <player.flag[bookgirl_chat]> == 3 narrate Format:ChatW 'Be careful if you go downstairs, I saw some HUGE spiders. I hate spiders!!'
- ^if <player.flag[bookgirl_chat]> == 4 narrate Format:ChatW 'There's only some dusty old JUNK down there anyway.'
- flag player bookgirl_chat:++
- if <player.flag[bookgirl_chat]> == 5 flag player bookgirl_chat:0