Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmd add kick # Kick | Nuxeel | MadCommands v2.1 build 1015
- cmd add kick %all% = onlineplayers()
- cmd add kick %form%[\"type\"] = \"custom_form\"
- cmd add kick %form%[\"title\"] = \"Kick players for specific reasons!\"
- cmd add kick %con-1%[\"type\"] = \"dropdown\"
- cmd add kick %con-1%[\"text\"] = \"Select player:\"
- cmd add kick %con-1%[\"options\"] = %all%
- cmd add kick %con-2%[\"type\"] = \"input\"
- cmd add kick %con-2%[\"text\"] = \"Reason:\"
- cmd add kick %con-2%[\"placeholder\"] = \"Reason here...\"
- cmd add kick %content%[] = %con-1%
- cmd add kick %content%[] = %con-2%
- cmd add kick %form%[\"content\"] = %content%
- cmd add kick %res% = dialog(%p%, %form%)
- cmd add kick if %res% = %false% then exit
- cmd add kick %index% = %res%[0]
- cmd add kick %name% = %all%[%index%]
- cmd add kick %reason% = %res%[1]
- cmd add kick if %reason% = \"\" then %reason% = \":D\"
- cmd add kick /kick %name% %reason%
- Up to you to edit the format.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement