Ok im making a telxt card game were there are no rule you just make them up and use a button to get your cards. I have a code, and it doesnt work. I think its because im changing it from a num to text but i dont know. heres the code:
mob
proc
Draw_full_set()
set category = "Cards"
var/drawncard = rand(1, 14)
if(drawncard == 11)
[drawncard] = "J"
world <<"\greenDraw::\red In a full deck[usr] pulled a [drawncard]"
and heres the errors:
cardgames.dm:7:error: [: expected }
cardgames.dm:7:error: location of top-most unmatched {
cardgames.dm:7:error: [: expected }
cardgames.dm:4:error: location of top-most unmatched {
It starts on line one.
NEVER MIND I GOT IT
Copyright © 2024 BYOND Software.
All rights reserved.