=$read - 12/07/08 08:40 AM
I'm trying to write a simple command that when someone types !profile it will display a link to their profile. the address is the same for everyone except for the id. is there something I can put in between the = and $ but not have a space and not interfere with the link?
it should read
http://www.forphucsake.com/profiles.php?XID=856
ID's are added with this...
Code:
on *:TEXT:!profile:#:{ if (!$read(Ids.txt, s, $nick)) { msg $chan There is no ID for that nick added. Please add it with !addid Nick ID . } else { msg $chan $nick $+ 's Profile is: http://www.forphucsake.com/profiles.php?XID=$read(Ids.txt, s, $nick)
it should read
http://www.forphucsake.com/profiles.php?XID=856
ID's are added with this...
Code:
on *:TEXT:!addid*:#:{ if ($3) { if (*Fuck* isin $2-) || (*censored* isin $2-) { msg $chan Don't add swears to the IDs you noob. | halt } if ($3 !isnum) { msg $chan $3 is not an ID , use !addid NICK ID | halt } write Ids.txt $2 $3 msg $chan ID Added.