====== Powwow Scripts ====== ==== Grep information from files ==== #print > Loading file: info.pow .......... #("=====> INFORMATION ") #al grepstats={#var $tmp=$0;#if ($tmp=="") #var $tmp=("empty");#print (attr "bold white" + "--- Stats needed for skills ---------------------------------------" + noattr); #exe ("#! grep --ignore-case '"+$tmp+"' info/stats.txt");} #al grepw={#var $tmp=$0;#if ($tmp=="") #var $tmp=("empty");#print (attr "bold white" + "--- Weapon Stats -------- -------------------------------" + noattr); #exe ("#! grep --ignore-case '"+$tmp+"' info/weapons.txt");} #al greps={#var $tmp=$0;#if ($tmp=="") #var $tmp=("empty");#print (attr "bold white" + "--- Shield Stats -------- -------------------------------" + noattr); #exe ("#! grep --ignore-case '"+$tmp+"' info/shields.txt");} #al greps={#var $tmp=$0;#if ($tmp=="") #var $tmp=("empty");#print (attr "bold white" + "--- Armour Stats -------- -------------------------------" + noattr); #exe ("#! grep --ignore-case '"+$tmp+"' info/armours.txt");} #al grepe={#var $tmp=$0;#if ($tmp=="") #var $tmp=("empty");#print (attr "bold white" + "--- Equipment Found ---- -----------------------------------" + noattr); #exe ("#! grep --ignore-case '"+$tmp+"' info/eq.txt");} #al greph={#var $tmp=$0;#if ($tmp=="") #var $tmp=("empty");#print (attr "bold white" + "--- Secret Room Names -- -------------------------------------" + noattr); #exe ("#! grep --ignore-case '"+$tmp+"' info/hidden.txt");} #("=====> HELP FILES") #al grepk={trenner;#exe ("#! grep --ignore-case '$1' info/keys.txt");trenner} #al grepk2={trenner;#exe ("#! grep --ignore-case '$1' info/keys2.txt");trenner}