I want to make a GM verb that you can take away money.I tried but it didn't work.if you know how to do it,PLEASE tell me!Thanks alot!
-Kappa the Imp
ID:266390
![]() Feb 19 2002, 2:11 pm
|
|
Just simply make a verb like so:
mob -Rcet |
mob/GM/verb/take_money(mob/M as mob in world)
var/amount = input("How much do you want to take?")as num if(M.money > 1) M.money-=amount else usr<<"[M] has no money!" </DM> |
are you useing s_admin V2 or what are you using for your GM stuff. Also what is the name of your money var?