Thread: probs with #t
View Single Post
  #15  
Old 09-25-2001, 08:36 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
try this
if (playerchats) {
if (startswith(changegani,#c)) {

if (tokenscount==3) {
this.oldgani = #t(1);
this.newgani = #t(3);
timeout = .5;
}
if (timeout) {
replaceani this.oldgani,this.newgani;
}

that will work if the command is replaceani but if it is replace gani just add a g before a
Reply With Quote