View Single Post
  #10  
Old 07-26-2013, 10:51 PM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
Quote:
Originally Posted by fowlplay4 View Post
I just do:

clientr.(@flag) = "";

On Zodiac we have a list of variables that are specific to characters. So for items we do:

PHP Code:
for (temp.itemgetstringkeys("clientr.item_")) {
  
clientr.("item_" @temp.item) = "";
}
for (
temp.statgetstringkeys("clientr.stat.")) {
  
clientr.stat.(@temp.stat) = "";

Just tried using the following

PHP Code:
for(temp.getstringkeys("clientr.mud_")){
  
clientr.("mud_" temp.i) = "";

They are still not clearing for some reason.

Edit: Just to reiterate I cannot echo the clientr vars that are from a previous session. I can echo anything from the current session im in but anything outside of that does not return anything. It's like they have been removed but they stay in the flags still.
Reply With Quote