I would like to use a $(user and a $(query) inside a eval command so would i go like $(eval a=$(user)
||b=$(query)
; ____)
Edit: I have made some progress
$(eval a=decodeURIComponent($(querystring)
).toLowerCase()b=$(user)
;a?(a==nightbot
?YOU CAN'T BAN ME! YOU ARE NOW BANNED $(user)
:(a==kevsuniverse
||a==hiyazcool
?You can't ban ${a}, they are too powerful!
:(b==harrybutss
?You are now banned $(user)
:The user ${a} is now banned.
))):Enter a user to ban!
; )
This only results in a Instance of error
Extra edit my `s are now gone because its in italics
$(eval a=decodeURIComponent( `$(querystring)`).toLowerCase();b=`$(user)`;a?(a==`nightbot`?`YOU CAN'T BAN ME! YOU ARE NOW BANNED ${b}`:(a==`kevsuniverse`||a==`hiyazcool`?`You can't ban ${a}, they are too powerful!`:(b==`harrybutss`?`You are now banned ${b}`:`The user ${a} is now banned.`))):`Enter a user to ban!`)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.