NightDev Community Forums

Help with !fight command

Hey, I am trying to make a !fight command that picks a random winner between two users. But I want a command that requires the user that is challenged to accept the fight before it picks a winner. ie:)

!fight user

user would type !accept (or something)

then it would pick a random winner.

Any help would be amazing.
Thanks!

Hiya, this is not possible with default Nightbot, however with the $(urlfetch ) variable you can create a script that does this logic for you. Since Nightbot would have no idea who invited who to fight, so you need to store this data somewhere.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.