Custom Commands by badplayer

badplayer

Member
JFF Member
JFF Supporter
7D2D RAT Supporter
Name: Discord Add Funds

Usage: /bankadd {player name or steamid} {amount of currency to send}

Type: Discord Public Chat

Conditionals: STARTSWITH:/bankadd

Script:
.BANKMODIFY:{1},{2}
.BANKBALANCE:{1}
.DSAY:{1} has been given {2} Zombucks and their balance is {bank_balance}.
sayplayer {1} "[00FF00] You have been given {2} Zombucks from {discord_author} and your balance is {bank_balance}."

This works great since the player killed zombie event is not functioning right now and you don't have to be in game to use it. I use this multiple times a day to update the players currency on both my servers.

If you use this and you have a discord chat to game going, make sure to use STARTSWITH:. (use whatever starting punctuation you want except the / as you are using that for the admin commands) in the discord to game chat so that the admin commands don't spam the in game chat. Thanks Ciro!
 
Last edited:

badplayer

Member
JFF Member
JFF Supporter
7D2D RAT Supporter
Name: Discord Player Balance

Usage: /balance {player name or steamid}

Type: Discord Public Chat

Conditionals: STARTSWITH:/balance

Script:
.BANKBALANCE:{1}
.DSAY:{1} has {bank_balance} Zombucks in their bank account.

If you use this and you have a discord chat to game going, make sure to use STARTSWITH:. (use whatever starting punctuation you want except the / as you are using that for the admin commands) in the discord to game chat event so that the admin commands don't spam the in game chat. Thanks Ciro!
 

badplayer

Member
JFF Member
JFF Supporter
7D2D RAT Supporter
Name: Discord Player Arrest

Usage: /arrest {player name}

Type: Discord Public Chat

Conditionals: STARTSWITH:/arrest

Script:
teleportplayer {1} {tele_jail}
admin add {1} 1000
say "[FFFF00]{1} has been sent to jail by {discord_author}"
sayplayer {1} "[FFFF00]Warning! You have been arrested and your teleport powers have been removed. An admin will be in touch shortly."
.DSAY: {1} has been arrested.

This is a complex command that removes teleports too. It is just like the in game command but can be used from discord.

If you use this and you have a discord chat to game going, make sure to use STARTSWITH:. (use whatever starting punctuation you want except the / as you are using that for the admin commands) in the discord to game chat event so that the admin commands don't spam the in game chat. Thanks Ciro!
 

badplayer

Member
JFF Member
JFF Supporter
7D2D RAT Supporter
Name: Discord Player Release

Usage: /release {player name}

Type: Discord Public Chat

Conditionals: STARTSWITH:/release

Script:
teleportplayer {1} {tele_safehouse}
admin add {1} 800
say "[FFFF00]{1} has been released from jail by {discord_author}"
sayplayer {1} "[FFFF00]You are being released from jail and being telelported to the Safehouse. Your teleport powers have been restored. Remember we are watching you....."
.DSAY: {1} has been released from jail.

This is a complex command that reinstates teleports too. It is just like the in game command but can be used from discord.

If you use this and you have a discord chat to game going, make sure to use STARTSWITH:. (use whatever starting punctuation you want except the / as you are using that for the admin commands) in the discord to game chat event so that the admin commands don't spam the in game chat. Thanks Ciro!
 
Last edited:

badplayer

Member
JFF Member
JFF Supporter
7D2D RAT Supporter
Name: Discord Player Poop Potatos

Usage: /poop {player name}

Type: Discord Public Chat

Conditionals: STARTSWITH:/poop

Script:
say "[00FF00]{1} is pooping potatos!! Don't forget to clean them before you eat them."
give {1} foodBakedPotato 1
give {1} foodBakedPotato 1
give {1} foodBakedPotato 1
give {1} foodBakedPotato 1
give {1} foodBakedPotato 1
give {1} foodBakedPotato 1
give {1} foodBakedPotato 1
give {1} foodBakedPotato 1
.DSAY: You made {1} poop potatos, what is wrong with you {discord_author}?

If you use this and you have a discord chat to game going, make sure to use STARTSWITH:. (use whatever starting punctuation you want except the / as you are using that for the admin commands) in the discord to game chat event so that the admin commands don't spam the in game chat. Thanks Ciro!
 

badplayer

Member
JFF Member
JFF Supporter
7D2D RAT Supporter
Name: Discord Player Remove Teleports

Usage: /remove {player name}

Type: Discord Public Chat

Conditionals: STARTSWITH:/remove

Script:
admin add {1} 1000
.DSAY: {1}'s teleports have been removed.
sayplayer {1} "[00FF00] Your teleports have been removed for breaking the rules."

This is a complex command that removes teleports. It is just like the in game command but can be used from discord.

If you use this and you have a discord chat to game going, make sure to use STARTSWITH:. (use whatever starting punctuation you want except the / as you are using that for the admin commands) in the discord to game chat event so that the admin commands don't spam the in game chat. Thanks Ciro!
 

badplayer

Member
JFF Member
JFF Supporter
7D2D RAT Supporter
Name: Discord Player Reinstate Teleports

Usage: /reinstate {player name}

Type: Discord Public Chat

Conditionals: STARTSWITH:/reinstate

Script:
admin add {1} 800
.DSAY: {1}'s teleports have been reinstated.
sayplayer {1} "[00FF00] Your teleports have been reinstated."

This is a complex command that reinstates teleports. It is just like the in game command but can be used from discord.

If you use this and you have a discord chat to game going, make sure to use STARTSWITH:. (use whatever starting punctuation you want except the / as you are using that for the admin commands) in the discord to game chat event so that the admin commands don't spam the in game chat. Thanks Ciro!
 

badplayer

Member
JFF Member
JFF Supporter
7D2D RAT Supporter
Name: Discord Player Teleport To Safehouse

Usage: /safehouse {player name}

Type: Discord Public Chat

Conditionals: STARTSWITH:/safehouse

Script:
teleportplayer {1} {tele_safehouse}
.DSAY:{1} is at the safehouse.

You can use this to teleport a player to any location you have setup on RAT.

If you use this and you have a discord chat to game going, make sure to use STARTSWITH:. (use whatever starting punctuation you want except the / as you are using that for the admin commands) in the discord to game chat event so that the admin commands don't spam the in game chat. Thanks Ciro!
 
Top