ID:149920
 
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
ok im changing my ?,how do i make iot so an icon shows up when i tell it too,in the text that is.
In response to Scoobert
world<<"\icon[src] [src] [texthere]"
In response to Nadrew
no no i mean i want a picture,not the usr pic, to show up.