1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | prontera,150,150,4 script FakeNamer 102,{ setarray .fklist$[0],"The Amazing","Spiderman","Avengers","Hero","Master"; mes "[FakeNamer]"; mes "Please choose from the list"; next; set .@fakemenu$, ""; for(set .@i, 0; .@i < getarraysize(.fklist$); set .@i, .@i + 1) { if(.@i) set .@fakemenu$, .@fakemenu$ + ":"; set .@fakemenu$, .@fakemenu$ + .fklist$[.@i]; } set .@selection,select(.@fakemenu$)-1; atcommand "@fakename " + .fklist$[.@selection]; mes "[FakeNamer]"; mes "Fakename enabled."; close; } |