mob/verb/Change_Command_Text() var/ct = input("What do you want to change the command text to?","Client Command Text",client.command_text) as null|text if(ct) client.command_text = ct
#2 Aug 17 2005, 3:46 pm (Edited on Aug 17 2005, 3:53 pm)
Nope...it doesnt work Well it changes it, but what im trying to accomplish is change it from the alt button to the say button (u kno, the 3 lil buttons at the bottom of ds)
loading Untitled.dme
loading macro.dms
actions.dm:130:= :warning: assignment of procedural properties takes place at compile-time. Move this to the top of the procedure to avoid this warning.
loading 1.dmp
saving Untitled.dmb (DEBUG mode)
...maybe the .alt or say thing can only be assigned at compile time
mob/verb/Change_Command_Text() switch(alert("What do you want your command text to be?",,"alt","Say","Cancel")) if("alt") src.client.command_text = ".alt " if("Say") src.client.command_text = "Say " if("Cancel") return