I would like to use the !fight command more like !battle $(touser) Where there outcome is random for the battle with different subject lines like (user) KO's all of (touser) pokemon. User was whited out by Touser. Different sample text from the pokemon games such as the ones mentioned...
Fight Command Edit for Pokemon
6 replies
Hey @Snowy Dodo!
I literally answered a similar post 13h before yours... Please use the search bar and read similar thread before asking your question (link expired).
/t/fight-command-with-different-tactics/1534606174836494538#m1534606176610684969
Okay so messing with the line a bit and this is what I'm at and I have no idea where to go from here. I am not very good at this stuff.
!editcom !test $(user) battled $(touser) and $(eval a=[won by fainting all of $(touser) pokemon,lost by whiting out]; a[Math.floor(Math.random()*a.length)])
However in the portion of won by fainting $(touser) pokemon it seems to cause an issue. How would that be written to show in chat that
BKxLounge battled Nightbot and won by fainting Nightbot pokemon
Didn't find your answer? The community is on Discord.
Ask on Discord