Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &aVerify &7•
- on load:
- ts connect to "localhost" with user "VerifyBot" and credentials "serveradmin", "ctgyJHU4"
- clear {Numbers::*}
- wait 1 tick
- set {_count} to 0
- loop 100 times:
- add {_count} to {NUmbers::*}
- add 1 to {_count}
- on unload:
- ts disconnect
- command /verify [<text>]:
- trigger:
- if {Verify.Status.%player%} is not set:
- if arg 1 is set:
- if ts client arg 1 is online:
- set {TS.Nummer.Verify.%player%} to random element out of {Numbers::*}
- ts pv msg "[B]Verify[/B] Um dich zu verifizieren, benutze /verify %{TS.Nummer.Verify.%player%}% %player%" to client arg-1
- stop
- else:
- send "{@P} &7Der User &e%arg-1% &7ist &cnicht online&7!"
- stop
- else:
- send "{@P} &7Nutze: &7/verify TS-Name"
- stop
- else:
- send "{@P} &7Du bist bereits &a&lVerfiziert&7!"
- send "{@P} &7Nutze: &7/verifyremove Ts-Name"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement