Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Class:
- type: assignment
- interact scripts:
- - 10 ClassNew
- ClassNew:
- type: interact
- steps:
- 1:
- click trigger:
- script:
- - chat "<yellow>What can I do for you. <player.name>?"
- - wait 1
- - ^narrate "<gray>Say: <green>1 <gray>or <green>2"
- - ^narrate "<green>1: <gray>I'm new to the server!"
- - ^narrate "<green>2: <gray>I'd like to change my class!"
- chat trigger:
- 1:
- trigger: //1// - My name's <player.name>. I just joined the server!
- script:
- - if <player.has_flag[notnew]> {
- - chat "<yellow>I swear I have seen you before, you already have a set class."
- } else {
- - chat "<yellow>Ah! I heard some rumors about a new guy around here, very nice to meet you, <player.name>!"
- - wait 3
- - chat "<yellow>Well, you have a huge decision to make, one that can change the fate of the Madness Community! You my friend, must decide what class you would like to be on this server."
- - wait 5
- - chat "<yellow>Why don't you take a look around at the various classes, be sure to be aware of their pro's and con's. Come visit me when you've decided!"
- - wait 3
- - narrate "<gray>Return to <npc.name> when you have decided your class."
- - ^narrate "<gray>There is a 7 day cooldown before you may change your class again."
- - zap step:2
- }
- trigger: //2// - Hi <npc.name>, I would like to change my class
- script:
- - if <player.flag[class_cooldown].is_expired> {
- - chat "Sure I would love to, but it'll cost you."
- - chat "Bring me back 10 gold and I will change your class for you"
- - zap step:3
- } else {
- - chat "Not so fast there, <player.name>! You still have <player.flag[class_cooldown].expiration> hours until you can change your class again"
- - zap step:1
- }
- 2:
- click trigger:
- script:
- - chat "<yellow>That quick? Alright then, <player.name>, just gimme a minute."
- - wait 3
- - narrate "<gray> *strange noises*"
- - wait 1
- - narrate "<gray> *rustling"
- - chat "<yellow> Yes yes, here we go."
- - execute as_op "skill select"
- - ^flag <player> notnew:true
- - zap step:1
- 3:
- click trigger:
- script:
- - chat "<yellow>You have my gold?"
- - ^narrate "<gray>Say: <green>1 <gray>or <green>2"
- - ^narrate "<green>1: <gray>Yes I do"
- - ^narrate "<green>2: <gray>Nope"
- chat trigger:
- 1:
- trigger: //1// - I have 10 gold right here <npc.name>
- script:
- - if <inventory.contains.material[gold_ingot].quantity[10]> {
- - chat "Ah, right then. Here you go!"
- - wait 3
- - execute as_op "skill change"
- } else {
- - chat "Trying to trick me? I dont think so... "
- - narrate "<npc.name> walks away from you."
- - zap step:1
- }
- trigger: //2// - I don't have your gold, <npc.name>
- script:
- - chat "Well then, I have no business here. Goodbye"
- - narrate "<gray> *Walks away*"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement