View Single Post
  #7  
Old 05-31-2006, 02:51 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
The second one shouldn't work, but the first one definitely should. You should follow Skyld's advice and echo out the contents of that variable. (Also see my reply to Tyrial for explanation of the 'strings' and 'numbers' misconception)

Quote:
Originally Posted by xXziroXx
If its a string, makevar(client.cxammo)? I dunno, never had to use that one..
hrm no, makevar isn't what you're thinking it is. makevar takes a string and uses it's contents for the name of the variable to access.

PHP Code:
temp.kewlstring "Wee";
temp.varname "temp.kewlstring";
echo(
makevar(temp.varname)); 
Would output: Wee
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")

Last edited by Skyld; 05-31-2006 at 01:02 PM..
Reply With Quote