ID:158199
 
how i can make so that ppl can use just 1 time a verb??
AntiAnti wrote:
how i can make so that ppl can use just 1 time a verb??

<code>mob/verb/onetimer(){usr.verbs-=/mob/verb/onetimer} </code>

Once I use this verb, it will be removed.
In response to Calus CoRPS
Calus CoRPS wrote:
AntiAnti wrote:
how i can make so that ppl can use just 1 time a verb??

<code>mob/verb/onetimer(){usr.verbs-=/mob/verb/onetimer} > </code>

Once I use this verb, it will be removed.

wht i do wrong??

mob
player
verb
ChangeIcon(){usr.verbs-=/mob/verb/ChangeIcon}
switch(input("U can use this option just 1 time sooo... u know wht to do", "Icon Choice", text) in list ("Black","Tamp","White Gurl"))
if("Black")
usr.icon = 'test3.dmi'

if("Tamp")
usr.icon = 'test1.dmi'

else if("White Gurl")
usr.icon = 'test2.dmi'

loading farming_module.dme
temp_stuff.dm:52:error::invalid proc definition

farming_module.dmb - 1 error, 0 warnings (double-click on an error to jump to it)
In response to AntiAnti
mob
player
verb
ChangeIcon()
switch(input("U can use this option just 1 time sooo... u know wht to do", "Icon Choice", text) in list ("Black","Tamp","White Gurl"))
if("Black")
usr.icon = 'test3.dmi'

if("Tamp")
usr.icon = 'test1.dmi'

else if("White Gurl")
usr.icon = 'test2.dmi'
usr.verbs-=/mob/player/verb/ChangeIcon
In response to Calus CoRPS
Calus CoRPS wrote:
> mob
> player
> verb
> ChangeIcon()
> switch(input("U can use this option just 1 time sooo... u know wht to do", "Icon Choice", text) in list ("Black","Tamp","White Gurl"))
> if("Black")
> usr.icon = 'test3.dmi'
>
> if("Tamp")
> usr.icon = 'test1.dmi'
>
> else if("White Gurl")
> usr.icon = 'test2.dmi'
> usr.verbs-=/mob/player/verb/ChangeIcon
>
>
>
>
THANKS THAT WORKS...... can u help me to make some damage with the command bump???