View Single Post
  #1  
Old 02-22-2004, 06:52 AM
XiLe XiLe is offline
Lylic < Me
XiLe's Avatar
Join Date: Dec 2002
Location: My House
Posts: 224
XiLe is on a distinguished road
Send a message via AIM to XiLe Send a message via MSN to XiLe
Auto Resizing Text

There is obviously no way to shrink text automatically (or at least Loriel said)

I came up with this script, but it doesn't seem to want to work. I tried it with for at first, and when it wouldn't work I tried the while, which just happened to refuse. I reconnected a few times, disconnected and /npcstarted up my NPC Server (couldnt do it with cpanel, it wont work) and it still doesnt work.. any ideas?

function showweap() {
wraptext2 97,.5,@Verdana@b,#w;
i=.5;
// for (i=.5; !strequals(#w,#t(0)); i-=.01 {
while (!strequals(#w,#t(0))) {
i-=.1;
wraptext2 97,i,@Verdana@b,#w;
}
showtext 506,3,1,Verdana,b,#t(0);
changeimgvis 506,8;
changeimgzoom 506,i;
// }
timeout=.05;
}
Reply With Quote