Im making a verb that reads a certain players verbs then takes them away and after like so many seconds (in the sleep function) i would like it to give back all the verbs it took away.
I have a bit of the coding because i just thought about putting the part i need in this verb:
mob
SGM
verb
Azkaban(mob/M in world)
set category="SGM"
var/area/Azkaban/T
for(T in world)
if(!T.in_use)
src.number=input("How long will they be in Azkaban? 10 = 1 second.","AZKABAN") as num
world<<"-=-Server-=- [M] was sent to Azkaban!"
T.in_use=1
M.loc=T
M.in_azkaban=1
sleep(src.number)
T.in_use=0
M.loc=locate(/area/Azkaban_Ex)
world<<"-=-Server-=- [M] was released from Azkaban!"
when someone is sent to azkaban its to take all the verbs away ALL of them, then when he gets out after the amount of seconds or minutes or whatever it gives the person back the exact verbs that person had.
How would i go about doing this?
usr.verbs -= typesof(/mob/verb/yourverbname)
I think that might work so you should test it out with your code.