mob/proc/removeTags(var/tx,var/list/tags)
for(var/i to length(tx))
i++
if(findtext(tx,"<",i,i+1))
var/check_tx = copytext(tx,i+1, findtext(tx,">",i+1))
if(check_tx in tags)
continue
else
check_tx = copytext(tx, i-1) + copytext(tx, findtext(tx,">",i+1))
sleep(1)
Even though it's not a big deal.. this has been seriously ticking me off because I don't know why for every compile it's been saying this.
loading World Control.dme
loading Skin.dmf
Procs.dm:22:warning: i: variable defined but not used
saving World Control.dmb
World Control.dmb - 0 errors, 1 warning