mob/proc
Update_Online()
winset(src, "Online", "cells=0x0")
src<<output("There are [Online] QChatters on.","Online")
mob/Login()
set background = 1
if(src.key in Admins)
src.verbs += typesof(/mob/Admin/verb)
world << "[Bot] : [src.key] has Joined Qubic Chat..."
src << "[Bot] : Welcome to Qubic Chat founded by Qubic."
Clients+=src
Online+=1
for(var/mob/M in world)
M.Update_Who()
M.Update_Online()
winset(client,"Namecolor","background=[namecolor]")
winset(client,"Textcolor","background=[textcolor]")
winset(client,"Namecolor","text=[namecolor]")
winset(client,"Textcolor","text=[textcolor]")
while(1)
AAfk()
..()
mob/Logout()
world << "[Bot] : [src.key] has Left Qubic Chat..."
Online-=1
Clients-=src
for(var/mob/M in world)
M.Update_Who()
M.Update_Online()
..()
var
Online = 0
Problem description:
Does not do anything when I run this code, it is supposed to show the amount of people on my game.