Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Variablen :
- afk = false
- afk-timestamp =
- afk-users =
- ____Code 1____
- Script : Bdscript 2
- Trigger : !afk
- $nomention
- $title[<:afk1:1026895549858852996>〣│__AFK__]
- $description[$username is now Afk,
- Reason `$if$message== no Reason settet $else $message $endif]
- $color[c41818]
- $footer[by $username#$discriminator[]]
- $footerIcon[$authorAvatar]
- $await[afk;]
- §setServerVar[afk-users;$getServerVar[afk-users], $authorID
- $setUserVar[afk;true]
- $setUserVar[afk-timestamp;$getTimestamp]
- $c[Please remove the custom emoji above]
- ____Code 2____
- Trigger : $awaitedCommand[afk;]
- $nomention
- $title[User is back]
- $description[$username, we are happy to have you back again. You was Afk for : <t:$getUserVar[afk-timestamp]:R>]
- $footer[Welcome back]
- $footerIcon[$authorAvatar]
- $color[c41818]
- $C[This Restes the varliablen]
- $setUserVar[afk;false]
- $setUserVar[afk-timestamp;]
- $setServerVar[afk-users;$replaceText[$getServerVar[afk-users],$authorID;;-1]]
- ____Code 3____
- Trigger : <@
- $nomention
- $if[$checkContains[$getServerVar[afk-users];$mentioned[1]]==true]
- $description[dear $username,
- The person you mentioned is afk.]
- $color[c41818]
- $endif
Advertisement
Add Comment
Please, Sign In to add comment