I'm trying to make a temporary ban command, but I have another teeny tiny nearly insignificant problem that I can't find the solution to once again.
Temporary_Ban(mob/M in world)
set desc = "(person) Ban a player for a set amount of minutes."
set category = "Owner"
if(M == src)
usr << "You cannot ban yourself."
return
if(M.Host == 1)
usr << "You cannot ban the host."
return
else
var/tempban = input("How long to ban?(Integers only)","Temporary Ban")
banned += M.key
banned += M.client.address
world << "[src] has banned [M] ([M.key]) for [tempban] minutes."
var/banny = (tempban *= 600)
del(M.client)
del(M)
sleep(banny)
banned -= M.key
banned -= M.client.address
The line I'm having the problem with is once again bolded and italicised. It says "GM.dm:259:error::missing expression" but I have no idea how to fix it. Help?
ID:147949
Sep 13 2003, 7:54 am
|
|