UID31302
帖子
精華
主題
積分527
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限10
註冊時間2007-11-2
在線時間 小時
最後登錄1970-1-1
TA的每日心情 | 開心 2017-12-31 10:40 PM |
---|
簽到天數: 27 天 連續簽到: 1 天 [LV.4]偶爾看看III
|
發表於 2009-12-19 23:41:12
|
顯示全部樓層
* setd "variable name",<value>;
Works almost identical as set, just that the variable name is identified as a string,
thus can be constructed dynamically.
This command is equivalent to:
set getd("variable name"),<value>;
Examples:
> set $var$, "Poporing";
> setd "$" + $var$ + "123$", "Poporing is cool";
> mes $Poporing123$;
Mes will print out: Poporing is cool.
> set @str$,"Poring";
> setd "@str$","Poporing";
> mes @str$;
the message will show Poporing. |
|