Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===============
- Point Add/Remove/Set/Reset/Pay
- $nomention
- $if[$message[function]==add]
- $onlyAdmin[❌คุณไม่สามารถใช้งานฟังชั่นนี้ได้เนื่องจากคุณไม่ใช่ผู้ดูแล]
- $if[$message[user]!=]
- $if[$message[value]!=]
- $reply
- $ephemeral
- $setUserVar[point;$sum[$getUserVar[point;$message[user]];$message[value]];$message[user]]
- $title[✅**Add Point Success**✅]
- $description[คุณได้เพิ่มพ้อยท์ให้คุณ `$username[$message[user]]`
- เป็นจำนวน `$message[value]` พ้อยท์🪙 สำเร็จแล้ว!]
- $color[00C1FF]
- $addTimestamp
- $else
- $reply
- $ephemeral
- ❗โปรดระบุจำนวนพ้อยท์!
- $endif
- $else
- $reply
- $ephemeral
- ❗โปรดระบุเป้าหมายที่ต้องการใช้คำสั่ง!
- $endif
- $elseif[$message[function]==remove]
- $onlyAdmin[❌คุณไม่สามารถใช้งานฟังชั่นนี้ได้เนื่องจากคุณไม่ใช่ผู้ดูแล!]
- $if[$message[user]!=]
- $if[$message[value]!=]
- $reply
- $ephemeral
- $setUserVar[point;$calculate[$getUserVar[point;$message[user]]-$message[value]];$message[user]]
- $title[✅**Remove Point Success**✅]
- $description[คุณได้ลบพ้อยท์ของคุณ `$username[$message[user]]`
- เป็นจำนวน `$message[value]` Point🪙 สำเร็จแล้ว!✅]
- $color[00C1FF]
- $addTimestamp
- $else
- $reply
- $ephemeral
- ❗โปรดระบุจำนวนพ้อยท์!
- $endif
- $else
- $reply
- $ephemeral
- ❗โปรดระบุเป้าหมายที่คุณต้องการใช้คำสั่ง!
- $endif
- $elseif[$message[function]==set]
- $onlyAdmin[❌คุณไม่สามารถใช้งานฟังชั่นนี้ได้เนื่องจากคุณไม่ใช่ผู้ดูแล!]
- $if[$message[user]!=]
- $if[$message[value]!=]
- $reply
- $ephemeral
- $setUserVar[point;$message[value];$message[user]]
- $title[✅**Set Point Success**✅]
- $description[คุณได้ตั้งพ้อยท์ให้คุณ `$username[$message[user]]`
- เป็น `$message[value]` Point🪙 สำเร็จแล้ว!✅]
- $color[00C1FF]
- $addTimestamp
- $else
- $reply
- $ephemeral
- ❗โปรดระบุจำนวนพ้อยท์!
- $endif
- $else
- $reply
- $ephemeral
- ❗โปรดระบุเป้าหมายทีต้องการใช้คำสั่ง!
- $endif
- $elseif[$message[function]==reset]
- $onlyAdmin[❌คุณไม่สามารถใช้งานฟังชั่นนี้ได้เนื่องจากคุณไม่ใช่ผู้ดูแล!]
- $if[$message[user]!=]
- $reply
- $ephemeral
- $resetUserVar[point;$message[user]]
- $title[✅**Reset Point Success**✅]
- $description[คุณได้ทำการรีเซ็ตพ้อยท์ของคุณ `$username[$message[user]]` สำเร็จแล้ว!✅]
- $color[00C1FF]
- $addTimestamp
- $else
- $reply
- $ephemeral
- ❗โปรดระบุเป้าหมายที่ต้องการใช้คำสั่ง!
- $endif
- $elseif[$message[function]==pay]
- $if[$message[user]!=]
- $if[$message[value]!=]
- $if[$message[value]<=$getUserVar[point;$authorID]]
- $reply
- $setUserVar[point;$calculate[$getUserVar[point;$authorID]-$message[value]];$authorID]
- $setUserVar[point;$sum[$getUserVar[point;$message[user]];$message[value]];$message[user]]
- $title[✅**Pay Success**✅]
- $description[คุณ `$username[$authorID]`
- ได้มอบพ้อยท์ให้คุณ `$username[$message[user]]`
- เป็นจำนวน `$message[value]`Point🪙 สำเร็จแล้ว!✅]
- $color[00C1FF]
- $addTimestamp
- $else
- $reply
- ❗คุณมีพ้อยท์ไม่เพียงพอ
- $endif
- $else
- $reply
- $ephemeral
- ❗โปรดระบุจำนวนพ้อยท์!
- $endif
- $else
- $reply
- $ephemeral
- ❗โปรดระบุเป้าหมายที่ต้องการใช้คำสั่ง!
- $endif
- $endif
- ===============
- Point Check
- $nomention
- $if[$message[user]!=]
- $reply
- $thumbnail[$userAvatar[$message[user]]]
- $title[🪙**พ้อยของคุณ `$username[$message[user]]`**🪙]
- $description[คุณ `$username[$message[user]]`
- มีอยู่ `$getUserVar[point;$message[user]]` Point🪙]
- $color[00C1FF]
- $addTimestamp
- $elseif[$message[user]==]
- $reply
- $thumbnail[$userAvatar[$authorID]]
- $title[🪙**พ้อยท์ของคุณ**🪙]
- $description[คุณมีอยู่ `$getUserVar[point;$authorID]` Point🪙]
- $color[00C1FF]
- $addTimestamp
- $endif
- ===============
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement