custom-hooks-commands

textPage 4 of 152
50 messages on this page
Friday, November 22, 2024
Avatar for 1467535abdfbebbbe4042d9f714d5cf0b8ea9314b970deda4c3bab84905dfeba
User 146753
and didnt get the rank
Avatar for 1467535abdfbebbbe4042d9f714d5cf0b8ea9314b970deda4c3bab84905dfeba
User 146753
so i supose he was 8 and made 10 skiping 9 somehow
Avatar for 1467535abdfbebbbe4042d9f714d5cf0b8ea9314b970deda4c3bab84905dfeba
User 146753
but is a 300% xp and 1 player didnt get rank
Avatar for 1467535abdfbebbbe4042d9f714d5cf0b8ea9314b970deda4c3bab84905dfeba
User 146753
i have a rank at lvl 10 with was 9
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Wouldn't adding one more level be the 150?
Avatar for 1467535abdfbebbbe4042d9f714d5cf0b8ea9314b970deda4c3bab84905dfeba
User 146753
add 148 as well for example?
Avatar for 1467535abdfbebbbe4042d9f714d5cf0b8ea9314b970deda4c3bab84905dfeba
User 146753
is there any way to make this condition a bit different ? add one more level to "was"?
image.png

image.png

PNG2.1 KB

Saturday, November 9, 2024
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
/friend isn’t able to be ran through console, is there a way for csmm to handle it without running it as a console command?
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
I was unable to get the /friend command to work
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
/ bank and then will work I got those
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
Interesting, imma attempt to custom command my way to most of them to csmm
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
You have to separate them out.
CPM can have
/
and servertools can have
!
Avatar for 2eb44ad6a50c42f0312f635d455b93d5ef620a7d86692a3aa6bdbf31d872a724
User 2eb44a
when i use cpm to hide / commands it stops all server tools commands from working
Friday, November 8, 2024
Avatar for 1467535abdfbebbbe4042d9f714d5cf0b8ea9314b970deda4c3bab84905dfeba
User 146753
hmm, let me find it
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
That already gives a countdown in game.
Hook off that to show in Discord.
Avatar for 1467535abdfbebbbe4042d9f714d5cf0b8ea9314b970deda4c3bab84905dfeba
User 146753
yes
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Are you using the
shutdownba
command?
Avatar for 1467535abdfbebbbe4042d9f714d5cf0b8ea9314b970deda4c3bab84905dfeba
User 146753
hmm in game or in discord any of them would be handy
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
In Discord?
Avatar for 1467535abdfbebbbe4042d9f714d5cf0b8ea9314b970deda4c3bab84905dfeba
User 146753
is there any way to make a hook that shows how much time remaining till next server restart?(cron job)
Wednesday, November 6, 2024
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
Just to help you out a bit. I would uninstall their instance and use the downloads page and install CSMM and CPM as mods. Works way better that way
Monday, November 4, 2024
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Are you using the 7D2D.net instance?
Sunday, November 3, 2024
Avatar for b6c97b9f13730459cef05f3a8afd4646021d4dc38d01a821403fe100fc5fc6b0
User b6c97b
But do I need to log in to us.csmm.app in order to make a custom command is the question. I thought I read somewhere in the discord that you can do it another way?
Avatar for aee541746e268e44e47a2c9b5a7d9236a76b59837f2dad43622fd77182acd4d8
User aee541
No content
Avatar for aee541746e268e44e47a2c9b5a7d9236a76b59837f2dad43622fd77182acd4d8
User aee541
No content
Avatar for b6c97b9f13730459cef05f3a8afd4646021d4dc38d01a821403fe100fc5fc6b0
User b6c97b
I have no access to the us.csmm.app. can I still make a custom command? I followed the docs and am still confused on where to input my commands.
Thursday, October 31, 2024
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Not sure how that stuff works.
Avatar for 2bff06f1108d26127de56dac50902078496ef102b8342062dff6d33a533ba047
User 2bff06
@User 45622657 oh we switched to EU. I probably need to redo my connect? I know it's due again, but according to cata, it shouldn't immediately delete my stuff .
Avatar for 6ceaf41ff27d04ff247f59c1bc5a9f4cc4ace95acc526862d52cdbbb8702989b
User 6ceaf4
you seemed very close... 😦
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
And it looks like you lost your supporter role here.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
I don't think you can change it.
Avatar for 2bff06f1108d26127de56dac50902078496ef102b8342062dff6d33a533ba047
User 2bff06
does anyone know what the command is for gimme so I can alias it in the custom command area as ToT (trick or treat)
Avatar for 2bff06f1108d26127de56dac50902078496ef102b8342062dff6d33a533ba047
User 2bff06
i give up
Avatar for 2bff06f1108d26127de56dac50902078496ef102b8342062dff6d33a533ba047
User 2bff06
At this point, I think I need to just change /gimme to /ToT temporarily and put everything in there.
Avatar for 6ceaf41ff27d04ff247f59c1bc5a9f4cc4ace95acc526862d52cdbbb8702989b
User 6ceaf4
so...
{{#if (eq (randNum:1:2) 1)}}
looks like a start...
Avatar for 6ceaf41ff27d04ff247f59c1bc5a9f4cc4ace95acc526862d52cdbbb8702989b
User 6ceaf4
your if is off
here is an example:
{{#if (gte player.level 100)}}
    pm {{player.steamId}} "That worked"
{{else}}
    pm {{player.steamId}} "Sorry, you must be at least level 100 for this command"
{{/if}}
Avatar for 2bff06f1108d26127de56dac50902078496ef102b8342062dff6d33a533ba047
User 2bff06
Doesn't spawn the wandering hordes. hmm this is usch a puzzle
Avatar for 2bff06f1108d26127de56dac50902078496ef102b8342062dff6d33a533ba047
User 2bff06
Actually it does all of the negative buffs at once instead of randomly picking one.
Avatar for 2bff06f1108d26127de56dac50902078496ef102b8342062dff6d33a533ba047
User 2bff06
So, I'm a step closer. now I get all of the says showing up and shocked when using this: sayplayer ${entityId} "[f59e42] Trick or Treat!"; if {randNum:1:2} ==1) {giveplus ${entityId} {{RndList:foodPumpkinPie 1,drugEyeKandy 1,drugHackers 1,drugSugarButts 1,drugAtomJunkies 1,drugFortBites 1,drugSkullCrushers 1,foodPumpkinCheesecake 1,drinkCanMegaCrush 1,foodCropPumpkin 1,foodCropGraceCorn 1,UnlAmmoSmoothiePew 1,Fishbites 1}}} 1; sayplayer ${entityId} "[00ff00]You received a treat!"} else {{{RndList:th ${entityId} 5;playsound ${entityId} twitch_jumpscare;buffplayer ${entityId} buffLegSprained;buffplayer ${entityId} buffshocked;giveplus ${entityId} resourceBrokenGlass 1;th all 10}}}; sayplayer ${entityId} "[ff0000]Trick!" }
Wednesday, October 30, 2024
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
I think it is possible though.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
That is only giving a random number of precious metal to someone.
Way different than what you are trying to do.
Avatar for 2bff06f1108d26127de56dac50902078496ef102b8342062dff6d33a533ba047
User 2bff06
I see from about a year ago someone kind of did something similar, have to figure out how to apply that to this.. giveplus ${player.entityId} ${randList:resourceGoldNugget,resourceSilverNugget,resourceRawDiamond} ${randNum:1:2}
Avatar for 2bff06f1108d26127de56dac50902078496ef102b8342062dff6d33a533ba047
User 2bff06
Oh, should I put randNum in there instead for the 0-1 range?
Avatar for 2bff06f1108d26127de56dac50902078496ef102b8342062dff6d33a533ba047
User 2bff06
i need to give it a way to determine which option to go with and then choose from the list associated with the trick or the treat option.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
If needs to be wrapped, for sure.
Not sure about the 0, 1 thing.
Avatar for 2bff06f1108d26127de56dac50902078496ef102b8342062dff6d33a533ba047
User 2bff06
Basically, I'm trying to create a conditional Gimme?
Avatar for 2bff06f1108d26127de56dac50902078496ef102b8342062dff6d33a533ba047
User 2bff06
Question about creating a custom command that randomizes a Trick or a Treat. I'm not sure if I'm using the random list functionality correctly. It's also saying both Trick and Treat but nothing else is happening. Any insight?
here's the code:
sayplayer ${entityId} "[f59e42] Trick or Treat!"; if (rand(0, 1) == 0) { giveplus ${entityId} {{RndList:foodPumpkinPie 1,drugEyeKandy 1,drugHackers 1,drugSugarButts 1,drugAtomJunkies 1,drugFortBites 1,drugSkullCrushers 1,foodPumpkinCheesecake 1,drinkCanMegaCrush 1,foodCropPumpkin 1,foodCropGraceCorn 1,UnlAmmoSmoothiePew 1,Fishbites 1}} 1; sayplayer ${entityId} "[00ff00]You received a treat!" } else { {{RndList:th ${entityId} 5,playsound ${entityId} twitch_jumpscare,buffplayer ${entityId} buffLegSprained,buffplayer ${entityId} buffshocked;giveplus ${entityId} resourceBrokenGlass 1,th all 10}}; sayplayer ${entityId} "[ff0000]Trick!" }
Tuesday, October 29, 2024
Avatar for 1467535abdfbebbbe4042d9f714d5cf0b8ea9314b970deda4c3bab84905dfeba
User 146753
checking all hooks i have now... see if all works:)
Avatar for 1467535abdfbebbbe4042d9f714d5cf0b8ea9314b970deda4c3bab84905dfeba
User 146753
yeah, thanks you
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Granted, I fixed it a few times so you may not have had the most current fix.