mob
var
gotmuted=0
muteid=0
oldmuteid=0
deadmute = 0
deadmuted = 0
swear = 1
textcolor = "#ffffff"
jailed = 0
world_muted = 0
verb
OOC(var/T as text)
world<<"<small><font color=[src.textcolor]>(~<font color=[src.textcolor]>[src.rank]</font>~) <font color=[src.textcolor]>[src.name]</font> OOC: <font color=[src.textcolor]>[html_encode(T)]"
if(findtext(T,"Fuck")||findtext(T,"FUCK"))
swear = 1
world << "System OOC: You're being muted for 30 seconds, best not let me catch you swearing again."
usr.deadmuted = 1
alert("The system has muted you!")
sleep(300)
usr.deadmuted = 0
alert("The system has unmuted you!")
usr.deadmute+=1
src.dead()
if(usr.deadmuted == 1)
alert("You have been deadmuted by the system, admin cant unmute you wait till your times up!")
if(usr.gotmuted == 1)
alert("You have been muted!")
if(world_muted == 1)
alert("world has been muted")
if(usr.jailed == 1)
alert("You are jailed, cant talk!")
mob
proc
systemcontrol()
if(usr.deadmute == 3)
world << "System OOC: You were warned not to swear, I've given you 3 chances.)"
del(usr)
if(usr.deadmute == 6)
world << "System OOC: You were warned not to swear, I've given you 6 chances.)"
del(usr)
if(usr.deadmute == 9)
world << "System OOC: You were warned not to swear, I've given you 9 chances.)"
del(usr)
Problem description:
No matter how i try working it nothing shows, i can type in the f word and it will show the systems responce, but im unable to make my text show for some reason, im not sure how to get this to work, any help would be nice
Side note, findtext is not case sensitive, therefore your || clause is a redundancy of the first one.